]> git.proxmox.com Git - qemu-server.git/commitdiff
CPUConfig: fix module load when pmxcfs is unavailable
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 26 Mar 2020 08:02:05 +0000 (09:02 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 26 Mar 2020 08:03:07 +0000 (09:03 +0100)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/QemuServer/CPUConfig.pm

index 20b82fc12d8cb0e990fe515b56d153964f1b32ba..8a5573900cc2b2a241b3b3e3276a505dffba3196 100644 (file)
@@ -16,7 +16,7 @@ get_cpu_options
 
 # under certain race-conditions, this module might be loaded before pve-cluster
 # has started completely, so ensure we don't prevent the FUSE mount with our dir
-if (PVE::Cluster::check_cfs_is_mounted()) {
+if (PVE::Cluster::check_cfs_is_mounted(1)) {
     mkdir "/etc/pve/virtual-guest";
 }