[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 Veillard <veillard redhat com>
- To: "Daniel P. Berrange" <berrange 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 11:10:38 -0400
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 redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]