[pve-devel] [PATCH] Fixed wrong UUID in Qemu VZDump backup

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jul 29 11:00:35 CEST 2015


As the format of the uuid which the qemu monitor returned changed,
it is here adapted to fix errors with not matching uuids.

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 PVE/VZDump/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm
index 64146e8..66f00b5 100644
--- a/PVE/VZDump/QemuServer.pm
+++ b/PVE/VZDump/QemuServer.pm
@@ -318,7 +318,7 @@ sub archive {
 
 	my $backup_cb = sub {
 	    my ($vmid, $resp) = @_;
-	    $uuid = $resp->{return};
+	    $uuid = $resp->{return}->{UUID};
 	};
 
 	my $outfh;
-- 
2.1.4




More information about the pve-devel mailing list