mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
Fix some cut-and-paste error in migration code
* src/qemu/qemu_driver.c: in qemudDomainMigratePerform call doPeer2PeerMigrate for VIR_MIGRATE_PEER2PEER.
This commit is contained in:
parent
91b009cde4
commit
7d10811312
@ -6794,9 +6794,9 @@ qemudDomainMigratePerform (virDomainPtr dom,
|
||||
event = NULL;
|
||||
}
|
||||
|
||||
if ((flags & VIR_MIGRATE_TUNNELLED)) {
|
||||
if ((flags & (VIR_MIGRATE_TUNNELLED | VIR_MIGRATE_PEER2PEER))) {
|
||||
if (doPeer2PeerMigrate(dom, vm, uri, flags, dname, resource) < 0)
|
||||
/* doTunnelMigrate already set the error, so just get out */
|
||||
/* doPeer2PeerMigrate already set the error, so just get out */
|
||||
goto cleanup;
|
||||
} else {
|
||||
if (doNativeMigrate(dom, vm, uri, flags, dname, resource) < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user