From ec3b82afaa0c4c06689d6a6381d351eefc4ee171 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Mon, 7 Dec 2009 21:37:09 +0100 Subject: monitor: convert do_change() to QObject, QError Signed-off-by: Markus Armbruster Signed-off-by: Anthony Liguori --- qemu-monitor.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qemu-monitor.hx') 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 -- cgit v1.2.3