[libvirt] [libvirt-glib 2/3] Add host capabilities API

Christophe Fergeau cfergeau at redhat.com
Fri May 4 07:44:30 UTC 2012


On Fri, May 04, 2012 at 05:02:37AM +0300, Zeeshan Ali (Khattak) wrote:
> On Wed, May 2, 2012 at 5:25 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> > On Tue, May 01, 2012 at 08:30:39PM +0300, Zeeshan Ali (Khattak) wrote:
> >> +
> >> +    gvir_config_xml_foreach_child(node, add_feature, &data);
> >
> > gvir_config_object_foreach_child
> 
> Not really, gvir_config_object_foreach_child seem to iterate grand
> children of the object node and we are iterating direct children.

If you use NULL as the second argument, it should do what you want.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120504/40448e90/attachment-0001.sig>


More information about the libvir-list mailing list