We cannot activate a path, only volume IDs with activate_volumes
(duh)

fixes commit 5c1d42b7f825fa124ff3701b32f9ecc011bece95
Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com>
---
 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 7b225da..3408898 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5403,7 +5403,7 @@ sub vm_start {
                push @$cmd, '-loadstate', $statefile;
            } else {
                my $statepath = PVE::Storage::path($storecfg, $statefile);
-               push @$vollist, $statepath;
+               push @$vollist, $statefile;
                push @$cmd, '-loadstate', $statepath;
            }
        } elsif ($paused) {
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to