Skip to contentSkip to conversation

conga/ricci/modules/cluster Virt.cpp

Cluster-devel [email protected] 1 participant 1 message Mar 17, 2008

lore
Share & tools
lore
#0 lore raw

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

ricci/modules/cluster/Virt.cpp +0 -5
@@ -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);