[pve-devel] [PATCH qemu-server 1/3] Rename parameter 'volname' to 'volinfo'

Fabian Ebner f.ebner at proxmox.com
Wed Jan 8 11:28:45 CET 2020


since it is not just the name but a hash containing
information about the volume

Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 PVE/QemuMigrate.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
index 0353458..1de1540 100644
--- a/PVE/QemuMigrate.pm
+++ b/PVE/QemuMigrate.pm
@@ -313,7 +313,7 @@ sub sync_disks {
 	    $sharedvm = 0; # there is a non-shared disk
 
 	    PVE::Storage::foreach_volid($dl, sub {
-		my ($volid, $sid, $volname) = @_;
+		my ($volid, $sid, $volinfo) = @_;
 
 		$local_volumes->{$volid}->{ref} = 'storage';
 	    });
-- 
2.20.1





More information about the pve-devel mailing list