[pve-devel] [PATCH qemu-server 1/4] logging vmstate into Resume/Start Task

Dominik Csapak d.csapak at proxmox.com
Fri Nov 29 11:06:46 CET 2019


so that the user knows what got loaded as vmstate

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/QemuServer.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 75e4f67..5cf04e6 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -4058,6 +4058,7 @@ sub config_to_command {
 	my $statepath = PVE::Storage::path($storecfg, $vmstate);
 	push @$vollist, $vmstate;
 	push @$cmd, '-loadstate', $statepath;
+	print "activating and using '$vmstate' as vmstate\n";
     }
 
     # add custom args
-- 
2.20.1





More information about the pve-devel mailing list