Re: [libvirt] [PATCH 5/8] virsh: Prefer virDomainGetState over virDomainGetInfo

2011-05-06 Thread Jiri Denemark
On Wed, May 04, 2011 at 17:35:42 -0600, Eric Blake wrote: > > +bool noGetState;/* virDomainGetState is not supported in > > + * current connection */ > > Nice - remembering the failure once, so you don't have to repeat it. > However, I don't like dou

Re: [libvirt] [PATCH 5/8] virsh: Prefer virDomainGetState over virDomainGetInfo

2011-05-04 Thread Eric Blake
On 05/04/2011 08:45 AM, Jiri Denemark wrote: > --- > tools/virsh.c | 195 > +++-- > 1 files changed, 162 insertions(+), 33 deletions(-) > > diff --git a/tools/virsh.c b/tools/virsh.c > index 5d8b025..6dae9fa 100644 > --- a/tools/virsh.c > +++

[libvirt] [PATCH 5/8] virsh: Prefer virDomainGetState over virDomainGetInfo

2011-05-04 Thread Jiri Denemark
--- tools/virsh.c | 195 +++-- 1 files changed, 162 insertions(+), 33 deletions(-) diff --git a/tools/virsh.c b/tools/virsh.c index 5d8b025..6dae9fa 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -223,6 +223,8 @@ typedef struct __vshControl