aboutsummaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-10-16 12:23:50 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:58 -0500
commitf0d6000a9e78833a6c25e6830b0a9ece1797c70a (patch)
tree0374914ff604dd4815bc9864865f517949dc538a /qemu-monitor.hx
parente1c923a62ac75b13ff9028d240279f951030fca3 (diff)
downloadqemu-f0d6000a9e78833a6c25e6830b0a9ece1797c70a.zip
qemu-f0d6000a9e78833a6c25e6830b0a9ece1797c70a.tar.gz
qemu-f0d6000a9e78833a6c25e6830b0a9ece1797c70a.tar.bz2
monitor: Convert do_getfd() to QObject
Note that errors are not being converted yet. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r--qemu-monitor.hx3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 05b4534..cc4487e 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -1013,7 +1013,8 @@ ETEXI
.args_type = "fdname:s",
.params = "getfd name",
.help = "receive a file descriptor via SCM rights and assign it a name",
- .mhandler.cmd = do_getfd,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_getfd,
},
STEXI