diff options
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r-- | qemu-monitor.hx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx index 7f9d261cd9..5308f364e7 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -570,10 +570,11 @@ ETEXI { .name = "device_add", - .args_type = "config:s", - .params = "device", + .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 |