211690d47b
resolves: rhbz#2041886
33 lines
981 B
Diff
33 lines
981 B
Diff
From 26361e035043ecec5b24d53f59978438a52e634d Mon Sep 17 00:00:00 2001
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
Date: Wed, 19 Jan 2022 18:21:47 +0000
|
|
Subject: [PATCH] tests/test-v2v-trim.sh: Use -of qcow2 to preserve output
|
|
format
|
|
|
|
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.
|
|
|
|
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
|
|
---
|
|
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 8eab4792..ed6c031d 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
|
|
--
|
|
2.31.1
|
|
|