mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
fa1e4759db
commit
3fa3cff73c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue