Re: [libvirt] [PATCHv3 01/12] lib: Add public api to enable atomic listing of guest

2012-06-18 Thread Peter Krempa
On 06/14/12 17:35, Eric Blake wrote: On 06/11/2012 04:33 AM, Peter Krempa wrote: This patch adds a new public api that lists domains. The new approach is different from those used before. There are key points to this: +int +virConnectListAllDomains(virConnectPtr conn, +

Re: [libvirt] [PATCHv3 01/12] lib: Add public api to enable atomic listing of guest

2012-06-14 Thread Eric Blake
On 06/11/2012 04:33 AM, Peter Krempa wrote: > This patch adds a new public api that lists domains. The new approach is > different from those used before. There are key points to this: > > +int > +virConnectListAllDomains(virConnectPtr conn, > + virDomainPtr **domains, > +

Re: [libvirt] [PATCHv3 01/12] lib: Add public api to enable atomic listing of guest

2012-06-11 Thread Eric Blake
On 06/11/2012 04:33 AM, Peter Krempa wrote: > This patch adds a new public api that lists domains. The new approach is > different from those used before. There are key points to this: > > 1) The list is acquired atomically and contains both active and inactive > domains (guests). This eliminates

[libvirt] [PATCHv3 01/12] lib: Add public api to enable atomic listing of guest

2012-06-11 Thread Peter Krempa
This patch adds a new public api that lists domains. The new approach is different from those used before. There are key points to this: 1) The list is acquired atomically and contains both active and inactive domains (guests). This eliminates the need to call two different list APIs, where the st