diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-24 10:15:17 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-01-16 17:52:35 +0100 |
commit | 869e9aecbe138e5e88920c0a8d444685fb3304e9 (patch) | |
tree | 86fe5e2287b6bc6a1094a39a6ddcaba334e499a9 /stubs/get-fd.c | |
parent | 1007a37e20828171010935e48c5876071c78cf47 (diff) |
stubs: merge all monitor stubs in one file, remove monitor_cur_is_qmp stub
monitor_cur_is_qmp was previously used by other stubs, but it's not
since 397d30e ("qemu-error: remove dependency of stubs on monitor",
2016-11-01).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'stubs/get-fd.c')
-rw-r--r-- | stubs/get-fd.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/stubs/get-fd.c b/stubs/get-fd.c deleted file mode 100644 index 7dfdfb55f7..0000000000 --- a/stubs/get-fd.c +++ /dev/null @@ -1,10 +0,0 @@ -#include "qemu/osdep.h" -#include "qapi/error.h" -#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; -} |