Skip to contentSkip to conversation

iotests: 181 does not work for all formats

PATCH In review Max Reitz 2 participants 3 messages Jun 21, 2017 – Jun 26, 2017

lore
Share & tools
lore

Max Reitz

author
#0 lore raw

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
index e969a2a..f73ad5a 100755
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
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.

---
 tests/qemu-iotests/181 | 2 ++
 1 file changed, 2 insertions(+)
tests/qemu-iotests/181 +0 -0
index e969a2a..f73ad5a 100755

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.

author
#2 lore raw
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.

---
 tests/qemu-iotests/181 | 2 ++
 1 file changed, 2 insertions(+)
tests/qemu-iotests/181 +0 -0
index e969a2a..f73ad5a 100755
@@ -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 Linux
 

Does 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

Thanks!

Aaand applied to my block branch.

Max