[Libguestfs] [PATCH v2v 1/3] tests/test-v2v-trim.sh: Use -of qcow2 to preserve output format
Laszlo Ersek
lersek at redhat.com
Thu Jan 20 12:30:00 UTC 2022
On 01/19/22 19:57, Richard W.M. Jones wrote:
> Old virt-v2v used the same output format as input format when doing
> disk to disk copies. Modular virt-v2v doesn't do this, it requires
> using -of to set the output format to the same as the input format if
> that is desired.
> ---
> tests/test-v2v-trim.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/test-v2v-trim.sh b/tests/test-v2v-trim.sh
> index 8eab4792b2..ed6c031df3 100755
> --- a/tests/test-v2v-trim.sh
> +++ b/tests/test-v2v-trim.sh
> @@ -66,7 +66,7 @@ fi
>
> virt-v2v --debug-gc \
> -i disk $d/fedora.qcow2 \
> - -o local -os $d
> + -o local -of qcow2 -os $d
>
> # Test the libvirt XML metadata and a disk was created.
> test -f $d/fedora.xml
>
Reviewed-by: Laszlo Ersek <lersek at redhat.com>
More information about the Libguestfs
mailing list