mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
Fix device_del in JSON mode for QEMU
The 'device_del' command expects a parameter called 'id' but we were passing 'config'. * src/qemu/qemu_monitor_json.c: Fix device_del command parameter
This commit is contained in:
parent
c35b5269af
commit
e699a82474
@ -1945,7 +1945,7 @@ int qemuMonitorJSONDelDevice(qemuMonitorPtr mon,
|
||||
virJSONValuePtr reply = NULL;
|
||||
|
||||
cmd = qemuMonitorJSONMakeCommand("device_del",
|
||||
"s:config", devalias,
|
||||
"s:id", devalias,
|
||||
NULL);
|
||||
if (!cmd)
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user