Re: [libvirt] [PATCH 0/8] Introduce virDomainGetState API

2011-05-05 Thread Jiri Denemark
On Wed, May 04, 2011 at 10:40:38 -0600, Eric Blake wrote: > On 05/04/2011 08:45 AM, Jiri Denemark wrote: > > This new API solves several problems: > > > > - calling virDomainGetInfo for just getting domain status is an overkill > > since > > it may result in sending requests to guest OS > > - s

Re: [libvirt] [PATCH 0/8] Introduce virDomainGetState API

2011-05-04 Thread Eric Blake
On 05/04/2011 08:45 AM, Jiri Denemark wrote: > This new API solves several problems: > > - calling virDomainGetInfo for just getting domain status is an overkill since > it may result in sending requests to guest OS > - since virDomainGetInfo can hang when guest OS is not responding and it is >

[libvirt] [PATCH 0/8] Introduce virDomainGetState API

2011-05-04 Thread Jiri Denemark
This new API solves several problems: - calling virDomainGetInfo for just getting domain status is an overkill since it may result in sending requests to guest OS - since virDomainGetInfo can hang when guest OS is not responding and it is used by virsh list, listing domains can hang - virDomai