[Libvir] Re: [PATCH] Python bindings now generate exceptions for libvirt errors (third version)
Daniel Veillard
veillard at redhat.com
Wed Mar 28 15:10:38 UTC 2007
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.
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list
mailing list