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

Richard W.M. Jones rjones at redhat.com
Mon Jul 23 10:03:31 UTC 2012


On Mon, Jul 23, 2012 at 10:55:36AM +0100, Daniel P. Berrange wrote:
> 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

libguestfs also runs 'qemu -help', so I guess there is no
difference there :-)

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the Libguestfs mailing list