From ffefe5fb860aee8affc12ee41549939a75e6874c Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Thu, 9 Sep 2010 18:05:03 -0300 Subject: [PATCH] qemu: qemuMonitorJSONMigrate(): 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c index 8a586bc321..bc19f23840 100644 --- a/src/qemu/qemu_monitor_json.c +++ b/src/qemu/qemu_monitor_json.c @@ -1601,9 +1601,9 @@ static int qemuMonitorJSONMigrate(qemuMonitorPtr mon, int ret; virJSONValuePtr cmd = qemuMonitorJSONMakeCommand("migrate", - "i:detach", flags & QEMU_MONITOR_MIGRATE_BACKGROUND ? 1 : 0, - "i:blk", flags & QEMU_MONITOR_MIGRATE_NON_SHARED_DISK ? 1 : 0, - "i:inc", flags & QEMU_MONITOR_MIGRATE_NON_SHARED_INC ? 1 : 0, + "b:detach", flags & QEMU_MONITOR_MIGRATE_BACKGROUND ? 1 : 0, + "b:blk", flags & QEMU_MONITOR_MIGRATE_NON_SHARED_DISK ? 1 : 0, + "b:inc", flags & QEMU_MONITOR_MIGRATE_NON_SHARED_INC ? 1 : 0, "s:uri", uri, NULL); virJSONValuePtr reply = NULL; -- GitLab