From 48cf040f751a06943b35e90b2b966271406b2c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Mon, 11 Nov 2019 11:28:27 +0100 Subject: [PATCH] use PVE::DataCenterConfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to make sure that the corresponding cfs_read_file works() works. Signed-off-by: Fabian Grünbichler --- PVE/API2/Qemu.pm | 1 + PVE/QemuServer.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 8e162aaf..f9e433b9 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -28,6 +28,7 @@ use PVE::Firewall; use PVE::API2::Firewall::VM; use PVE::API2::Qemu::Agent; use PVE::VZDump::Plugin; +use PVE::DataCenterConfig; BEGIN { if (!$ENV{PVE_GENERATING_DOCS}) { diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 54c8c887..91fef4c7 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -27,6 +27,7 @@ use URI::Escape; use UUID; use PVE::Cluster qw(cfs_register_file cfs_read_file cfs_write_file cfs_lock_file); +use PVE::DataCenterConfig; use PVE::Exception qw(raise raise_param_exc); use PVE::GuestHelpers; use PVE::INotify;