[Libguestfs] [libvirt] [PATCH libguestfs 0/4] Add a libvirt backend to libguestfs.

Daniel P. Berrange berrange at redhat.com
Mon Jul 23 09:55:36 UTC 2012


On Sun, Jul 22, 2012 at 09:43:04AM +0100, Richard W.M. Jones wrote:
> On Sat, Jul 21, 2012 at 08:20:45PM +0100, Richard W.M. Jones wrote:
> > This preliminary patch series adds a libvirt backend to libguestfs.
> > It's for review only because although it launches the guest OK, there
> > are some missing features that need to be implemented.
> 
> I did some appliance boot timings of libvirt vs direct qemu boot from
> libguestfs, and essentially libvirt makes no measurable difference,
> which is all good news.

Oh, I'm a little surprised at that. When I switched my KVM
sandbox hacks from a quick proof of concept, over to using
libvirt, I saw about a 300-500ms overhead from libvirt in
the startup process. My presumption is that this overhead
is primarily from libvirt invoking qemu -help several times
to figure out supported options. When we switch to caching
that info though, I'd expect there to be little measurable
impact from libvirt

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the Libguestfs mailing list