提交 e699a824 编写于 作者: D Daniel P. Berrange

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
上级 c35b5269
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册