aboutsummaryrefslogtreecommitdiff
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:36:50 -0600
commit06976f82e733a8157c716698b42f000b9f68caab (patch)
tree210e1fec41c8a2bb84a4a6145233efc6204478d7 /qemu-monitor.hx
parentQError: New QERR_VNC_SERVER_FAILED (diff)
downloadqemu-kvm-06976f82e733a8157c716698b42f000b9f68caab.tar.gz
qemu-kvm-06976f82e733a8157c716698b42f000b9f68caab.tar.bz2
qemu-kvm-06976f82e733a8157c716698b42f000b9f68caab.zip
monitor: convert do_change() to QObject, QError
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> (cherry picked from commit ec3b82afaa0c4c06689d6a6381d351eefc4ee171)
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 c2670ee1d..0657b2d16 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