Re: [libvirt] incorrect VIR_DOMAIN_NONE usage

2008-07-08 Thread Daniel P. Berrange
On Tue, Jul 01, 2008 at 10:04:58PM +0200, T?th Istv?n wrote: As I was trying to understand exact semantics of the libvirt flags api, I found an error in the xs_internal.c file. When it wants to indicate that it cannot report the state of the domain, it user VIR_DOMAIN_NONE as a return value,

[libvirt] incorrect VIR_DOMAIN_NONE usage

2008-07-01 Thread Tóth István
As I was trying to understand exact semantics of the libvirt flags api, I found an error in the xs_internal.c file. When it wants to indicate that it cannot report the state of the domain, it user VIR_DOMAIN_NONE as a return value, which does not, in fact, refer to a domain state at all, but is a