[libvirt] [PATCH 05/14] Fix migration cancellation for QEMU

Daniel P. Berrange berrange at redhat.com
Thu Nov 26 18:27:23 UTC 2009


* src/qemu/qemu_monitor_text.c: Add missing underscore in the
  migrate_cancel monitor command impl
---
 src/qemu/qemu_monitor_text.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/qemu/qemu_monitor_text.c b/src/qemu/qemu_monitor_text.c
index 2a8b3bd..db15573 100644
--- a/src/qemu/qemu_monitor_text.c
+++ b/src/qemu/qemu_monitor_text.c
@@ -1038,7 +1038,7 @@ int qemuMonitorTextMigrateCancel(qemuMonitorPtr mon)
 {
     char *info = NULL;
 
-    if (qemuMonitorCommand(mon, "migrate cancel", &info) < 0) {
+    if (qemuMonitorCommand(mon, "migrate_cancel", &info) < 0) {
         qemudReportError(NULL, NULL, NULL, VIR_ERR_INTERNAL_ERROR,
                          "%s", _("cannot run monitor command to cancel migration"));
         return -1;
-- 
1.6.5.2




More information about the libvir-list mailing list