[Libguestfs] Support for qemu snapshot=on drives in libvirt

Richard W.M. Jones rjones at redhat.com
Fri Oct 5 11:54:26 UTC 2012


On Fri, Oct 05, 2012 at 01:52:46PM +0200, Paolo Bonzini wrote:
> Il 05/10/2012 13:40, Richard W.M. Jones ha scritto:
> > I'm also concerned about the time is takes to run the external
> > 'qemu-img create' command, which is non-trivial in some versions
> > of qemu.  In libguestfs, every millisecond counts.
> 
> qemu-img create is a thin wrapper for bdrv_create that would be done
> anyway by QEMU.  So there is no difference apart from the cost of
> loading the binary.

Right -- that's the point though :-(

Using qemu snapshot=on is free, since we've launched qemu already.

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