Displaying 1 result from an estimated 1 matches for "my_overlay".
Did you mean:
mngoverlay
2017 Oct 02
1
relaunching libguestfs with the same overlay
...n the handle is closed:
https://github.com/libguestfs/libguestfs/blob/master/lib/drives.c#L68
https://github.com/libguestfs/libguestfs/blob/master/lib/launch-direct.c#L78
However you can simply create your own overlay and use that. Run
something like:
qemu-img create -b orig_disk -f qcow2 my_overlay
and change the guestfs_add_drive_opts call to use ?my_overlay? and
don't use the readonly flag.
> I'm talking about read-only mode so the real disks are not touched.
The above won't touch the original disk, as long as you do _not_ run
any commands such as ?qemu-img commit?.
Rich....