]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix migration cancellation for QEMU
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 26 Nov 2009 13:39:30 +0000 (13:39 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 8 Dec 2009 13:46:53 +0000 (13:46 +0000)
* src/qemu/qemu_monitor_text.c: Add missing underscore in the
  migrate_cancel monitor command impl

src/qemu/qemu_monitor_text.c

index 2a8b3bde1c34cb508dce8ee18c3a8538a710f7d8..db155734d5323f88e43bc4135918c3c797aa9287 100644 (file)
@@ -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;