mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-06-14 11:47:33 +00:00
Fix freeze_needed
We want freeze the filesystem if the vmstate is not saved, because when we save the state we need not to freeze the filesystem.
This commit is contained in:
parent
6956993e87
commit
278e2c9dd6
@ -166,7 +166,7 @@ sub __snapshot_check_freeze_needed {
|
||||
my ($class, $vmid, $config, $save_vmstate) = @_;
|
||||
|
||||
my $running = $class->__snapshot_check_running($vmid);
|
||||
if ($save_vmstate) {
|
||||
if (!$save_vmstate) {
|
||||
return ($running, $running && $config->{agent} && PVE::QemuServer::qga_check_running($vmid));
|
||||
} else {
|
||||
return ($running, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user