[Libvir] Re: [PATCH] Python bindings now generate exceptions for libvirt errors (third version)

Hugh Brock hbrock at redhat.com
Wed Mar 28 14:10:19 UTC 2007


Richard W.M. Jones wrote:
> Daniel Veillard wrote:
>>   But let's separate the 2 issues, apply that patch, and let's try to 
>> solve
>> the way to detect defined domain easilly and properly.
> 
> Agreed.  Version 3 of the patch has been committed.
> 

Yes, actually, I agree, it seems strange that you have to make two 
different calls to get all domains active and inactive. And overloading 
the id to indicate inactivity is lame, even though Xen does it. It's 
totally reasonable to imagine another virtualization system that 
maintained a domain's id across active/inactive cycles.

--Hugh

-- 
Red Hat Virtualization Group http://redhat.com/virtualization
Hugh Brock           | virt-manager http://virt-manager.org
hbrock at redhat.com    | virtualization library http://libvirt.org




More information about the libvir-list mailing list