[pve-devel] [PATCH qemu-server] check for qorum when starting a VM

Wolfgang Bumiller w.bumiller at proxmox.com
Fri Jan 8 14:32:49 CET 2016


---
 PVE/API2/Qemu.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 1b8f38b..78baf9b 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -1595,6 +1595,8 @@ __PACKAGE__->register_method({
 	    }
 	}
 
+	PVE::Cluster::check_cfs_quorum();
+
 	my $storecfg = PVE::Storage::config();
 
 	if (PVE::HA::Config::vm_is_ha_managed($vmid) && !$stateuri &&
-- 
2.1.4





More information about the pve-devel mailing list