diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c index bc19f2384089e9716bc47b609bd139c43e1a518e..d3ab25ff1225f82acd282a5624d48dec5a164550 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)