mirror of https://gitee.com/openkylin/libvirt.git
qemu: qemuMonitorJSONEjectMedia(): Fix arguments' type
QMP in QEMU 0.13 has been fixed to enforce type correctness, this means that boolean types must be true or false, not integers. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
ffefe5fb86
commit
e70880c51b
|
@ -1353,7 +1353,7 @@ int qemuMonitorJSONEjectMedia(qemuMonitorPtr mon,
|
|||
int ret;
|
||||
virJSONValuePtr cmd = qemuMonitorJSONMakeCommand("eject",
|
||||
"s:device", devname,
|
||||
"i:force", 0,
|
||||
"b:force", 0,
|
||||
NULL);
|
||||
virJSONValuePtr reply = NULL;
|
||||
if (!cmd)
|
||||
|
|
Loading…
Reference in New Issue