[pve-devel] applied: [PATCH qemu-server] fixup: VM statefile: pass volid not resolved path to vollist
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Oct 22 11:55:19 CEST 2019
We cannot activate a path, only volume IDs with activate_volumes
(duh)
fixes commit 5c1d42b7f825fa124ff3701b32f9ecc011bece95
Signed-off-by: Thomas Lamprecht <t.lamprecht at 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
More information about the pve-devel
mailing list