summaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2009-12-07 21:37:09 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-07 16:34:35 -0600
commitec3b82afaa0c4c06689d6a6381d351eefc4ee171 (patch)
tree165db07f30b3f36af23fb41e0a198ce4a95aa3d9 /qemu-monitor.hx
parenta6906e31a8d025a0dd626ee3c14dd58e7b9ab445 (diff)
monitor: convert do_change() to QObject, QError
Signed-off-by: Markus Armbruster <armbru@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 c2670ee1d9..0657b2d160 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -147,7 +147,8 @@ ETEXI
.args_type = "device:B,target:F,arg:s?",
.params = "device filename [format]",
.help = "change a removable medium, optional format",
- .mhandler.cmd = do_change,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_change,
},
STEXI