[pve-devel] Question to code

Dietmar Maurer dietmar at proxmox.com
Tue Dec 2 16:51:35 CET 2014


> >>my opinion is you freeze the fs and have a consistent backup, it doesn't matter
> if with or without ram?
> 
> When we backup the ram, the vm is going to pause mode, so no disk access and
> no need to freeze the fs.

Sounds reasonable, but the current code implements the opposite?

4883     $freezefs = $save_vmstate = 0 if !$snap->{vmstate}; # vm is not running

I thought that should be:

$save_vmstate = 0 if !$snap->{vmstate};
$freezefs = 0 if $snap->{vmstate};

?

> (BTW,  $freezefs don't do anything currently, we need to implement qga
> command, feel free to add them ;)

https://git.proxmox.com/?p=qemu-server.git;a=commitdiff;h=65994ad73caa33443c68c3d7174ca648362df990



More information about the pve-devel mailing list