otherwise VMA files passed in as paths instead of as volids don't work anymore.
Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com> --- I hope this is the last one ;) PVE/API2/Qemu.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 396879a..6f31fa8 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -404,7 +404,7 @@ __PACKAGE__->register_method({ my $parse_restore_archive = sub { my ($storecfg, $archive) = @_; - my ($archive_storeid, $archive_volname) = PVE::Storage::parse_volume_id($archive); + my ($archive_storeid, $archive_volname) = PVE::Storage::parse_volume_id($archive, 1); if (defined($archive_storeid)) { my $scfg = PVE::Storage::storage_config($storecfg, $archive_storeid); -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel