aboutsummaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-10-16 12:23:51 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:58 -0500
commit18f3a5151cfdc659459faf70cd09d5c887f7addc (patch)
treec7c69f268b9fa3269659743591270b66d2646c8c /qemu-monitor.hx
parentf0d6000a9e78833a6c25e6830b0a9ece1797c70a (diff)
downloadqemu-18f3a5151cfdc659459faf70cd09d5c887f7addc.zip
qemu-18f3a5151cfdc659459faf70cd09d5c887f7addc.tar.gz
qemu-18f3a5151cfdc659459faf70cd09d5c887f7addc.tar.bz2
monitor: Convert do_closefd() 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 cc4487e..bb01c14 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -1029,7 +1029,8 @@ ETEXI
.args_type = "fdname:s",
.params = "closefd name",
.help = "close a file descriptor previously passed via SCM rights",
- .mhandler.cmd = do_closefd,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_closefd,
},
STEXI