[pve-devel] [PATCH V4 qemu-server] fix #146 add name to backup log.

Wolfgang Link w.link at proxmox.com
Mon Jun 27 14:37:14 CEST 2016


---
 PVE/VZDump/QemuServer.pm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm
index 616391b..5916eed 100644
--- a/PVE/VZDump/QemuServer.pm
+++ b/PVE/VZDump/QemuServer.pm
@@ -48,6 +48,9 @@ sub prepare {
 
     my $conf = $self->{vmlist}->{$vmid} = PVE::QemuConfig->load_config($vmid);
 
+    $self->loginfo("VM Name: $conf->{name}")
+	if defined($conf->{name});
+
     $self->{vm_was_running} = 1;
     if (!PVE::QemuServer::check_running($vmid)) {
 	$self->{vm_was_running} = 0;
-- 
2.1.4




More information about the pve-devel mailing list