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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :-)

Rich.


--
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)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]