fixup: VM statefile: pass volid not resolved path to vollist

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

fixes commit 5c1d42b7f8

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-10-22 11:52:28 +02:00
parent 9142d2e3f0
commit edcbf953ab

View File

@ -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) {