mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fix migration cancellation for QEMU
* src/qemu/qemu_monitor_text.c: Add missing underscore in the migrate_cancel monitor command impl
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user