Re: [libvirt] [PATCH 1/2] lib: Introduce API for retrieving bulk domain stats

2014-08-26 Thread Li Wei
On 08/26/2014 03:43 PM, Peter Krempa wrote: > On 08/26/14 03:45, Li Wei wrote: >> >> >> On 08/26/2014 01:05 AM, Peter Krempa wrote: >>> The motivation for this API is that management layers that use libvirt >>> usually poll for statistics using various split up APIs we currently >>> provide. To g

Re: [libvirt] [PATCH 1/2] lib: Introduce API for retrieving bulk domain stats

2014-08-26 Thread Li Wei
On 08/26/2014 03:46 PM, Peter Krempa wrote: > On 08/26/14 05:21, Li Wei wrote: >> >> >> On 08/26/2014 01:05 AM, Peter Krempa wrote: >>> The motivation for this API is that management layers that use libvirt >>> usually poll for statistics using various split up APIs we currently >>> provide. To g

Re: [libvirt] [PATCH 1/2] lib: Introduce API for retrieving bulk domain stats

2014-08-26 Thread Peter Krempa
On 08/26/14 05:21, Li Wei wrote: > > > On 08/26/2014 01:05 AM, Peter Krempa wrote: >> The motivation for this API is that management layers that use libvirt >> usually poll for statistics using various split up APIs we currently >> provide. To get all the necessary stuff, the app needs to issue a

Re: [libvirt] [PATCH 1/2] lib: Introduce API for retrieving bulk domain stats

2014-08-26 Thread Peter Krempa
On 08/26/14 03:45, Li Wei wrote: > > > On 08/26/2014 01:05 AM, Peter Krempa wrote: >> The motivation for this API is that management layers that use libvirt >> usually poll for statistics using various split up APIs we currently >> provide. To get all the necessary stuff, the app needs to issue a

Re: [libvirt] [PATCH 1/2] lib: Introduce API for retrieving bulk domain stats

2014-08-25 Thread Li Wei
On 08/26/2014 01:05 AM, Peter Krempa wrote: > The motivation for this API is that management layers that use libvirt > usually poll for statistics using various split up APIs we currently > provide. To get all the necessary stuff, the app needs to issue a lot of > calls and agregate the results.

Re: [libvirt] [PATCH 1/2] lib: Introduce API for retrieving bulk domain stats

2014-08-25 Thread Li Wei
On 08/26/2014 01:05 AM, Peter Krempa wrote: > The motivation for this API is that management layers that use libvirt > usually poll for statistics using various split up APIs we currently > provide. To get all the necessary stuff, the app needs to issue a lot of > calls and agregate the results.

[libvirt] [PATCH 1/2] lib: Introduce API for retrieving bulk domain stats

2014-08-25 Thread Peter Krempa
The motivation for this API is that management layers that use libvirt usually poll for statistics using various split up APIs we currently provide. To get all the necessary stuff, the app needs to issue a lot of calls and agregate the results. The APIs I'm introducing here: 1) Returns data in a f