Skip to contentSkip to conversation

conga/ricci/modules/virt Virt.cpp

Cluster-devel [email protected] 1 participant 1 message Jul 28, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL5
Changes by: rmccabe at sourceware.org 2008-07-28 17:52:47

Modified files:
ricci/modules/virt: Virt.cpp

Log message:
Provide an error message when functions that depend on libvirt are called on architectures for which libvirt is not available

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/virt/Virt.cpp.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.2.2&r2=1.1.2.3

ricci/modules/virt/Virt.cpp +1 -0
@@ -139,6 +139,7 @@
 
 map<String, String> Virt::get_vm_list(const String &hvURI) {
 	std::map<String, String> vm_list;
+	throw String("Unsupported on this architecture.");
 	return vm_list;
 }