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