[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/ricci/modules/virt Virt.cpp



CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL5
Changes by:	rmccabe 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

--- conga/ricci/modules/virt/Virt.cpp	2008/07/28 17:49:45	1.1.2.2
+++ conga/ricci/modules/virt/Virt.cpp	2008/07/28 17:52:47	1.1.2.3
@@ -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;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]