diff options
Diffstat (limited to 'qemu/stubs/get-fd.c')
-rw-r--r-- | qemu/stubs/get-fd.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qemu/stubs/get-fd.c b/qemu/stubs/get-fd.c new file mode 100644 index 000000000..9f2c65cf0 --- /dev/null +++ b/qemu/stubs/get-fd.c @@ -0,0 +1,8 @@ +#include "qemu-common.h" +#include "monitor/monitor.h" + +int monitor_get_fd(Monitor *mon, const char *name, Error **errp) +{ + error_setg(errp, "only QEMU supports file descriptor passing"); + return -1; +} |