Re: [libvirt] [PATCH 2/3] New APIs for checking some object properties

2009-10-28 Thread Daniel Veillard
On Wed, Oct 21, 2009 at 07:15:24PM +0100, Daniel P. Berrange wrote: > Introduce a number of new APIs to expose some boolean properties > of objects, which cannot otherwise reliably determined, nor are > aspects of the XML configuration. [...] > +/** > + * virStoragePoolIsPersistent: > + * > + * De

Re: [libvirt] [PATCH 2/3] New APIs for checking some object properties

2009-10-21 Thread Matthias Bolte
2009/10/21 Daniel P. Berrange : > On Wed, Oct 21, 2009 at 08:56:25PM +0200, Matthias Bolte wrote: >> 2009/10/21 Daniel P. Berrange : >> >> [...] >> > diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms >> > index 8921c1a..62fa6cf 100644 >> > --- a/src/libvirt_public.syms >> > +++ b/src/l

Re: [libvirt] [PATCH 2/3] New APIs for checking some object properties

2009-10-21 Thread Daniel P. Berrange
On Wed, Oct 21, 2009 at 08:56:25PM +0200, Matthias Bolte wrote: > 2009/10/21 Daniel P. Berrange : > > [...] > > diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms > > index 8921c1a..62fa6cf 100644 > > --- a/src/libvirt_public.syms > > +++ b/src/libvirt_public.syms > > @@ -329,4 +329,17

Re: [libvirt] [PATCH 2/3] New APIs for checking some object properties

2009-10-21 Thread Matthias Bolte
2009/10/21 Daniel P. Berrange : > Introduce a number of new APIs to  expose some boolean properties > of objects, which cannot otherwise reliably determined, nor are > aspects of the XML configuration. > >  * virDomainIsActive: Checking virDomainGetID is not reliable >   since it is not possible to

[libvirt] [PATCH 2/3] New APIs for checking some object properties

2009-10-21 Thread Daniel P. Berrange
Introduce a number of new APIs to expose some boolean properties of objects, which cannot otherwise reliably determined, nor are aspects of the XML configuration. * virDomainIsActive: Checking virDomainGetID is not reliable since it is not possible to distinguish between error condition an