aboutsummaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-02-10 20:52:01 +0100
committerMarkus Armbruster <armbru@redhat.com>2010-03-16 17:45:35 +0100
commit8bc27249f0f62524887ea355a6604722edd276a9 (patch)
tree506d3fa3bfb6b9c7b54aa1bd4b88314d404781ad /qemu-monitor.hx
parentc7e4e8ceb379e15c8cb79427f10169b2ccaa8de6 (diff)
monitor: convert do_device_add() to QObject
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 45e5fd10f3..5308f364e7 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