xref: /openbmc/qemu/stubs/monitor.c (revision 073d9f2c)
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