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:
Luiz Capitulino 2010-09-09 18:05:04 -03:00 committed by Eric Blake
parent ffefe5fb86
commit e70880c51b
1 changed files with 1 additions and 1 deletions

View File

@ -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)