[libvirt] [libvirt-glib PATCHv2 2/5] gobject: Add API to query connection interfaces

Christophe Fergeau cfergeau at redhat.com
Tue Jun 30 12:40:39 UTC 2015


On Tue, Jun 30, 2015 at 01:22:18PM +0100, Zeeshan Ali (Khattak) wrote:
> >> diff --git a/libvirt-gobject/libvirt-gobject.sym b/libvirt-gobject/libvirt-gobject.sym
> >> index 29c4349..b7ce1d5 100644
> >> --- a/libvirt-gobject/libvirt-gobject.sym
> >> +++ b/libvirt-gobject/libvirt-gobject.sym
> >> @@ -273,6 +273,11 @@ LIBVIRT_GOBJECT_0.2.1 {
> >>
> >>  LIBVIRT_GOBJECT_0.2.2 {
> >>    global:
> >> +     gvir_connection_fetch_interfaces;
> >
> > No async variant ?
> >
> >> +     gvir_connection_find_interface_by_mac;
> >> +     gvir_connection_get_interface;
> >> +     gvir_connection_get_interfaces;
> >> +
> >>       gvir_interface_get_mac;
> >>  } LIBVIRT_GOBJECT_0.2.1;
> 
> The existing _fetch() methods don't have async variants so I didn't
> add here either. I'll look into adding those..

There are gvir_connection_fetch_domains_async() and
gvir_connection_fetch_storage_pools_async() , I don't think I would have
thought about this otherwise ;)

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


More information about the libvir-list mailing list