]> git.proxmox.com Git - qemu-server.git/blobdiff - qm
activate LVM LVs more carefully
[qemu-server.git] / qm
diff --git a/qm b/qm
index a03c0df7a0dbfcc6b28b905cfea6f692ab0cc349..5444e73783c644bb15d7ab282243f9460f1ef0a4 100755 (executable)
--- a/qm
+++ b/qm
@@ -276,7 +276,9 @@ __PACKAGE__->register_method ({
 
        my $timeout = $param->{timeout};
 
-       PVE::QemuServer::vm_stopall($timeout);
+       my $storecfg = PVE::Storage::config();
+
+       PVE::QemuServer::vm_stopall($storecfg, $timeout);
 
        return undef;
     }});