[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Libvir] Re: [PATCH] Python bindings now generate exceptions for libvirt errors (third version)
- From: "Daniel P. Berrange" <berrange redhat com>
- To: Daniel Veillard <veillard redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [Libvir] Re: [PATCH] Python bindings now generate exceptions for libvirt errors (third version)
- Date: Wed, 28 Mar 2007 15:13:28 +0100
On Wed, Mar 28, 2007 at 07:07:32AM -0400, Daniel Veillard wrote:
> If the fact of being inactive is only represented internally by having
> id == -1 then we probably made a mistake, we should have
> domain->flags & DOMAIN_IS_DEFINED
> bit set.
We already have a state flag for it
VIR_DOMAIN_SHUTOFF
which is set in virDomainInfoPtr, we can fix virt-manager not to call get_id
if the domain is shutdown.
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]