From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 28 Jul 2008 17:52:48 -0000 Subject: [Cluster-devel] conga/ricci/modules/virt Virt.cpp Message-ID: <20080728175248.12293.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --- 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 Virt::get_vm_list(const String &hvURI) { std::map vm_list; + throw String("Unsupported on this architecture."); return vm_list; }