X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=qmp-commands.hx;h=c810c74c117d470ff1a06f963bb270673e37f24a;hb=563987d0a799f90b58a575b190a57546c335191b;hp=944787161f38e95d5219a904afc5f3ca7546c5fa;hpb=7914cb3c738a03a5d5f7cb32c3768bc62eb1e944;p=qemu.git diff --git a/qmp-commands.hx b/qmp-commands.hx index 944787161..c810c74c1 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -314,10 +314,7 @@ EQMP { .name = "device_del", .args_type = "id:s", - .params = "device", - .help = "remove device", - .user_print = monitor_user_noop, - .mhandler.cmd_new = do_device_del, + .mhandler.cmd_new = qmp_marshal_input_device_del, }, SQMP @@ -690,19 +687,19 @@ Example: EQMP { - .name = "block_stream", - .args_type = "device:B,base:s?", + .name = "block-stream", + .args_type = "device:B,base:s?,speed:o?", .mhandler.cmd_new = qmp_marshal_input_block_stream, }, { - .name = "block_job_set_speed", - .args_type = "device:B,value:o", + .name = "block-job-set-speed", + .args_type = "device:B,speed:o", .mhandler.cmd_new = qmp_marshal_input_block_job_set_speed, }, { - .name = "block_job_cancel", + .name = "block-job-cancel", .args_type = "device:B", .mhandler.cmd_new = qmp_marshal_input_block_job_cancel, },