mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-14 02:38:23 +00:00
snapshot: log storage where VM state is saved too
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
8828460b1d
commit
f97224b1ef
@ -279,9 +279,10 @@ sub __snapshot_create_vol_snapshots_hook {
|
||||
if ($snap->{vmstate}) {
|
||||
my $path = PVE::Storage::path($storecfg, $snap->{vmstate});
|
||||
PVE::Storage::activate_volumes($storecfg, [$snap->{vmstate}]);
|
||||
my $state_storage_id = PVE::Storage::parse_volume_id($snap->{vmstate});
|
||||
|
||||
mon_cmd($vmid, "savevm-start", statefile => $path);
|
||||
print "saving VM state and RAM\n";
|
||||
print "saving VM state and RAM using storage '$state_storage_id'\n";
|
||||
my $render_state = sub {
|
||||
my ($stat) = @_;
|
||||
my $b = render_bytes($stat->{bytes});
|
||||
|
Loading…
Reference in New Issue
Block a user