From: Luiz Capitulino Date: Thu, 9 Sep 2010 21:05:04 +0000 (-0300) Subject: qemu: qemuMonitorJSONEjectMedia(): Fix arguments' type X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e70880c51bb7fd4e8ce2e50eaff08b0745a74527;p=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 --- diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c index bc19f23840..d3ab25ff12 100644 --- a/src/qemu/qemu_monitor_json.c +++ b/src/qemu/qemu_monitor_json.c @@ -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)