xref: /qemu/stubs/monitor-internal.c (revision 62aa1d887ff9fc76adb488d31447d126a78f4b8f)
1 #include "qemu/osdep.h"
2 #include "qapi/error.h"
3 #include "qemu-common.h"
4 #include "monitor/monitor.h"
5 
6 __thread Monitor *cur_mon;
7 
8 int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
9 {
10     error_setg(errp, "only QEMU supports file descriptor passing");
11     return -1;
12 }
13 
14 void monitor_init(Chardev *chr, int flags)
15 {
16 }
17