mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-08 11:33:21 +00:00
rollback: vmgenid: comment why we regenerate vmgenid
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f7ed64e7b9
commit
4f4d9772a5
@ -302,6 +302,9 @@ sub __snapshot_rollback_hook {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->{vmgenid}) {
|
if ($conf->{vmgenid}) {
|
||||||
|
# tell the VM that it's another generation, so it can react
|
||||||
|
# appropriately, e.g. dirty-mark copies of distributed databases or
|
||||||
|
# re-initializing its random number generator
|
||||||
$conf->{vmgenid} = PVE::QemuServer::generate_uuid();
|
$conf->{vmgenid} = PVE::QemuServer::generate_uuid();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user