[Libguestfs] Mounting Snapshots

Richard W.M. Jones rjones at redhat.com
Thu Jan 16 15:29:38 UTC 2014


On Thu, Jan 16, 2014 at 11:32:04AM +0100, Thorsten Sick wrote:
> Hello
> 
> I am doing a research project (http://www.ites-project.org/) and want to
> be able to mount VM images (all kinds of VMs, starting with VirtualBox).
> For that libguestfs seems perfect. I am already able to mount the base
> HD, but I was not able to additionally mount the overlaying Snapshot files.

Basically we support what qemu supports, and qemu has never really
provided a way to look at a particular internal snapshot of a disk
image.  Mainly, I suspect, because qemu generally encourages you to
use qcow2 external snapshots.  This would have to be added to qemu,
and then libguestfs would be able to support it almost for free.

> Is there a way to mount several HD files onto each other ?

Not sure what this means.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list