[Libguestfs] [PATCH] v2v: add --in-place mode
Richard W.M. Jones
rjones at redhat.com
Tue Jul 28 11:00:46 UTC 2015
On Tue, Jul 28, 2015 at 11:54:59AM +0100, Richard W.M. Jones wrote:
> In virt-sparsify, --in-place is handled essentially by a completely
> different main function in a different module, and that might be a
> less error-prone way to do things here too.
See:
https://github.com/libguestfs/libguestfs/blob/master/sparsify/copying.ml
- "traditional" copying virt-sparsify main function
https://github.com/libguestfs/libguestfs/blob/master/sparsify/in_place.ml
- virt-sparsify --in-place main function
https://github.com/libguestfs/libguestfs/blob/master/sparsify/sparsify.ml#L36-L42
- selects which main function to call
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
More information about the Libguestfs
mailing list