From 8bc27249f0f62524887ea355a6604722edd276a9 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 10 Feb 2010 20:52:01 +0100 Subject: monitor: convert do_device_add() to QObject --- 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 45e5fd10f..5308f364e 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -573,7 +573,8 @@ ETEXI .args_type = "device:O", .params = "driver[,prop=value][,...]", .help = "add device, like -device on the command line", - .mhandler.cmd = do_device_add, + .user_print = monitor_user_noop, + .mhandler.cmd_new = do_device_add, }, STEXI -- cgit v1.2.3