conga/ricci/modules/virt Virt.cpp
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
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; }