From e70880c51bb7fd4e8ce2e50eaff08b0745a74527 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Thu, 9 Sep 2010 18:05:04 -0300 Subject: [PATCH] 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 --- src/qemu/qemu_monitor_json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- GitLab