From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 17 Mar 2008 16:58:07 -0000 Subject: [Cluster-devel] conga/ricci/modules/cluster Virt.cpp Message-ID: <20080317165807.17011.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 Changes by: rmccabe at sourceware.org 2008-03-17 16:58:07 Modified files: ricci/modules/cluster: Virt.cpp Log message: The bug is actually virConnectNumOfDefinedDomains(), so the code as is correct (and not working around any bug) Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/Virt.cpp.diff?cvsroot=cluster&r1=1.9&r2=1.10 --- conga/ricci/modules/cluster/Virt.cpp 2008/03/14 19:58:12 1.9 +++ conga/ricci/modules/cluster/Virt.cpp 2008/03/17 16:58:07 1.10 @@ -221,11 +221,6 @@ free(dom); } - /* - ** As of libvirt-0.3.3-5, active domains aren't returned in the list - ** of results from 'virConnectListDefinedDomains', so ask for them - ** explicitly below. - */ num_doms = virConnectNumOfDomains(con); if (num_doms < 0) { virConnectClose(con);