]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/QemuConfig.pm
snapshot: log storage where VM state is saved too
[qemu-server.git] / PVE / QemuConfig.pm
index 31b3e36416d7a7696ea6e173c6a19db25e748b55..d12b5ce3c04fdc7fad3b0f26aaa002e444cfc05c 100644 (file)
@@ -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});