[pve-devel] [PATCH qemu-server 07/12] use PVE::DataCenterConfig

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Nov 6 13:36:59 CET 2019


to make sure that the corresponding cfs_read_file works() works.

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---

Notes:
    needs dependency on libpve-cluster-perl

 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 da00676..02af933 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 5fb745e..cd89475 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;
-- 
2.20.1





More information about the pve-devel mailing list