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

Richard W.M. Jones rjones at redhat.com
Wed Mar 28 15:13:53 UTC 2007

Daniel Veillard wrote:
> On Wed, Mar 28, 2007 at 03:55:24PM +0100, Daniel P. Berrange wrote:
>> On Wed, Mar 28, 2007 at 10:45:34AM -0400, Daniel Veillard wrote:
>>>   It would be nice though if each time you look whether the domain is
>>> defined or not, libvirt could give teh answer directly instead of going
>>> though the potentially expensive Info call. This would also require
>>> to double check invalidation of the _virDomain cached data at the 
>>> proper places.
>> The virDomainGetInfo is a fast-path call - its either a direct hypercall,
>> or a hypercall via the proxy - we never make an expensive XenD call unless
>> they've broken the proxy somehow. 
>   I was thinking about the upcoming remote support, and an RPC is expensive
> for this kind of informations IMHO.

Just what I was going to say :-)


Emerging Technologies, Red Hat  http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF     Mobile: +44 7866 314 421

Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David
Owens (Ireland)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070328/783a3a9b/attachment-0001.bin>

More information about the libvir-list mailing list