From 1dbe979c7c4487afd47c7b8eae0c57503b8f8fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 26 Mar 2020 09:02:05 +0100 Subject: [PATCH] CPUConfig: fix module load when pmxcfs is unavailable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- PVE/QemuServer/CPUConfig.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer/CPUConfig.pm b/PVE/QemuServer/CPUConfig.pm index 20b82fc1..8a557390 100644 --- a/PVE/QemuServer/CPUConfig.pm +++ b/PVE/QemuServer/CPUConfig.pm @@ -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"; }