mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
qemuMigrationSrcRun: Don't jump to 'exit_monitor' from outside of the monitor
Failure of 'qemuMigrationSetDBusVMState' would jump to 'exit_monitor' but the function isn't called inside of the monitor context. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
7a694da7be
commit
568d7358ab
@ -4156,7 +4156,7 @@ qemuMigrationSrcRun(virQEMUDriverPtr driver,
|
||||
}
|
||||
|
||||
if (qemuMigrationSetDBusVMState(driver, vm) < 0)
|
||||
goto exit_monitor;
|
||||
goto error;
|
||||
|
||||
/* Before EnterMonitor, since already qemuProcessStopCPUs does that */
|
||||
if (!(flags & VIR_MIGRATE_LIVE) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user