iotests: 181 does not work for all formats
PATCH 1/1 iotests: 181 does not work for all formats
Test 181 only works for formats which support live migration (naturally, as it is a live migration test). Disable it for all formats which do not.
--- tests/qemu-iotests/181 | 2 ++ 1 file changed, 2 insertions(+)
tests/qemu-iotests/181 +2 -0
@@ -43,6 +43,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 . ./common.qemu _supported_fmt generic +# Formats that do not support live migration +_unsupported_fmt qcow vdi vhdx vmdk vpc vvfat _supported_proto generic _supported_os Linux
Signature · 1 line
2.9.4
Quoted 15 lines · Max Reitz
Test 181 only works for formats which support live migration (naturally, as it is a live migration test). Disable it for all formats which do not.
Signed-off-by Max Reitz <[email protected]>--- tests/qemu-iotests/181 | 2 ++ 1 file changed, 2 insertions(+)tests/qemu-iotests/181 +0
-0
tests/qemu-iotests/181 trap "_cleanup; exit \$status" 0 1 2 3 15 · line 50
Quoted 8 lines
tests/qemu-iotests/181 +2
-0@@ -43,6 +43,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 . ./common.qemu _supported_fmt generic +# Formats that do not support live migration +_unsupported_fmt qcow vdi vhdx vmdk vpc vvfat _supported_proto generic _supported_os Linux
Does this come up elsewhere in iotests? I guess not often enough to justify some macro like formats_unmigratable.
Eh.
Quoted 19 lines · John Snow
Quoted 16 lines · Max Reitz
Test 181 only works for formats which support live migration (naturally, as it is a live migration test). Disable it for all formats which do not.
Signed-off-by Max Reitz <[email protected]>--- tests/qemu-iotests/181 | 2 ++ 1 file changed, 2 insertions(+)tests/qemu-iotests/181 +0
-0@@ -43,6 +43,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 . ./common.qemu
Quoted 10 lines
tests/qemu-iotests/181 trap "_cleanup; exit \$status" 0 1 2 3 15 · line 50
Quoted 7 lines
tests/qemu-iotests/181 +2
-0_supported_fmt generic +# Formats that do not support live migration +_unsupported_fmt qcow vdi vhdx vmdk vpc vvfat _supported_proto generic _supported_os LinuxDoes this come up elsewhere in iotests? I guess not often enough to justify some macro like
formats_unmigratable.
Well, formats_no_backing might happen more often...
Quoted 1 line
Eh.
Don't want to volunteer? :-)
Quoted 1 line
Reviewed-by John Snow <[email protected]>
Thanks!
Aaand applied to my block branch.
Max