[pve-devel] [PATCH qemu-server 02/10] add vtype parameter to rename_volume call

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Jul 29 13:15:44 CEST 2025


Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
 src/PVE/API2/Qemu.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/API2/Qemu.pm b/src/PVE/API2/Qemu.pm
index a3f967f3..76883a5b 100644
--- a/src/PVE/API2/Qemu.pm
+++ b/src/PVE/API2/Qemu.pm
@@ -4904,7 +4904,7 @@ __PACKAGE__->register_method({
                                 (PVE::Storage::parse_volname($storecfg, $source_volid))[6];
 
                             my $new_volid = PVE::Storage::rename_volume(
-                                $storecfg, $source_volid, $target_vmid,
+                                $storecfg, $source_volid, $target_vmid, undef, 'vm-vol',
                             );
 
                             $drive->{file} = $new_volid;
-- 
2.47.2





More information about the pve-devel mailing list