[pve-devel] [PATCH ha-manager] Use config_file from PVE::QemuConfig
Fabian Grünbichler
f.gruenbichler at proxmox.com
Mon Mar 7 12:42:32 CET 2016
update after refactoring
---
Note: depends on the patch series refactoring qemu-server
src/PVE/HA/Resources/PVEVM.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/HA/Resources/PVEVM.pm b/src/PVE/HA/Resources/PVEVM.pm
index cb03d23..4c06df9 100644
--- a/src/PVE/HA/Resources/PVEVM.pm
+++ b/src/PVE/HA/Resources/PVEVM.pm
@@ -5,6 +5,7 @@ use warnings;
use PVE::HA::Tools;
+use PVE::QemuConfig;
use PVE::QemuServer;
use PVE::API2::Qemu;
@@ -33,7 +34,7 @@ sub options {
sub config_file {
my ($class, $vmid, $nodename) = @_;
- return PVE::QemuServer::config_file($vmid, $nodename);
+ return PVE::QemuConfig->config_file($vmid, $nodename);
}
sub exists {
--
2.1.4
More information about the pve-devel
mailing list