qemu/stubs/monitor.c

17 lines
329 B
C
Raw Normal View History

#include "qemu/osdep.h"
2016-03-14 16:01:28 +08:00
#include "qapi/error.h"
#include "qemu-common.h"
#include "monitor/monitor.h"
Monitor *cur_mon = NULL;
int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
{
error_setg(errp, "only QEMU supports file descriptor passing");
return -1;
}
void monitor_init(Chardev *chr, int flags)
{
}