On 3/6/23 18:52, Richard W.M. Jones wrote:
This is just an outline patch, only compile tested.
It doesn't make changes to virt-v2v-in-place, but those would be the
same as made in v2v/v2v.ml.
It reuses the existing Types.guestcaps_block_type which is a bit ugly
but fairly practical.
I've made the change to the documentation, but it needs a test.
Rich.
Thanks for the provided outlines, I adapted them in my v2:
https://listman.redhat.com/archives/libguestfs/2023-March/030987.html
https://listman.redhat.com/archives/libguestfs/2023-March/030989.html
I have tested the in-place mode, and the switch seems to be working as
expected.
The patch also adds the convert option to the virt-v2v-inspector tool as
it's also using the conversion mechanism. I figured that this cmdline
switch isn't much needed there, so the option is set just for avoiding
compilation issues.