diff --git a/src/PVE/QemuServer.pm b/src/PVE/QemuServer.pm index 62fb72e..f199371 100644 --- a/src/PVE/QemuServer.pm +++ b/src/PVE/QemuServer.pm @@ -6697,16 +6697,6 @@ sub restore_update_config_line { } else { $res .= $line; } - } elsif ($line =~ m/^vmstatestorage:\s*(\S+)\s*$/) { - my $storeid = $1; - my $storecfg = PVE::Storage::config(); - my $scfg = PVE::Storage::storage_config($storecfg, $storeid, 1); - if ($scfg && PVE::Storage::storage_check_enabled($storecfg, $storeid, undef, 1)) { - $res .= $line; - } else { - print "VM state storage '$storeid' is not available on this node, using" - . " automatic selection instead\n"; - } } elsif (($line =~ m/^vmgenid: (.*)/)) { my $vmgenid = $1; if ($vmgenid ne '0') {