diff options
Diffstat (limited to 'stubs/monitor.c')
-rw-r--r-- | stubs/monitor.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/stubs/monitor.c b/stubs/monitor.c new file mode 100644 index 0000000000..1d574b1c6f --- /dev/null +++ b/stubs/monitor.c @@ -0,0 +1,16 @@ +#include "qemu/osdep.h" +#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(CharDriverState *chr, int flags) +{ +} |