mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: snapshot: Resume VM after live snapshot
Commit 4b951d1e38
missed the fact that the
VM needs to be resumed after a live external checkpoint (memory
snapshot) where the cpus would be paused by the migration rather than
libvirt.
This commit is contained in:
parent
6488a6c6e2
commit
2e86c0816f
@ -14503,6 +14503,9 @@ qemuDomainSnapshotCreateActiveExternal(virConnectPtr conn,
|
||||
* atomic flag now says whether we need to pause, and a
|
||||
* capability bit says whether to use transaction.
|
||||
*/
|
||||
if (memory)
|
||||
resume = true;
|
||||
|
||||
if ((memory && !(flags & VIR_DOMAIN_SNAPSHOT_CREATE_LIVE)) ||
|
||||
(!memory && atomic && !transaction)) {
|
||||
if (qemuProcessStopCPUs(driver, vm, VIR_DOMAIN_PAUSED_SNAPSHOT,
|
||||
|
Loading…
Reference in New Issue
Block a user