Skip to contentSkip to conversation

iotests: Disallow compat=0.10 in 223

PATCH Applied Max Reitz 3 participants 3 messages Jul 13, 2018 – Jul 23, 2018

lore
Share & tools
lore

Max Reitz

author
#0 lore raw

PATCH 1/1 iotests: Disallow compat=0.10 in 223

223 tests persistent dirty bitmaps which are not supported in compat=0.10, so that option is unsupported for this test.

---
 tests/qemu-iotests/223 | 2 ++
 1 file changed, 2 insertions(+)
tests/qemu-iotests/223 +2 -0
index b63b7a4f9e..8b1859c2dd 100755
@@ -40,6 +40,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow2
 _supported_proto file # uses NBD as well
 _supported_os Linux
+# Persistent dirty bitmaps require compat=1.1
+_unsupported_imgopts 'compat=0.10'
 
 function do_run_qemu()
 {
Signature · 1 line
2.17.1
Tested-by Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · Max Reitz

223 tests persistent dirty bitmaps which are not supported in compat=0.10, so that option is unsupported for this test.

---
 tests/qemu-iotests/223 | 2 ++
 1 file changed, 2 insertions(+)
tests/qemu-iotests/223 +0 -0
index b63b7a4f9e..8b1859c2dd 100755

tests/qemu-iotests/223 trap "_cleanup; exit \$status" 0 1 2 3 15 · line 47

Quoted 8 lines
tests/qemu-iotests/223 +2 -0
@@ -40,6 +40,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow2
 _supported_proto file # uses NBD as well
 _supported_os Linux
+# Persistent dirty bitmaps require compat=1.1
+_unsupported_imgopts 'compat=0.10'
 
 function do_run_qemu()
 {

Thanks for catching this :)