Skip to contentSkip to conversation

qemu-iotests: Filter out 'adapter_type'

PATCH Applied Fam Zheng 2 participants 2 messages May 3, 2013

lore
Share & tools
lore

Fam Zheng

author
#0 lore raw

PATCH 1/1 qemu-iotests: Filter out 'adapter_type'

Filter out vmdk creation option 'adapter_type' for vmdk. So that tests with an explicit './check -o adapter_type=XXX' will not fail.

---
 tests/qemu-iotests/common.rc | 1 +
 1 file changed, 1 insertion(+)
tests/qemu-iotests/common.rc +1 -0
index 442cf51..31eb62b 100644
@@ -129,6 +129,7 @@ _make_test_img()
             -e "s# static=\\(on\\|off\\)##g" \
             -e "s# zeroed_grain=\\(on\\|off\\)##g" \
             -e "s# subformat='[^']*'##g" \
+            -e "s# adapter_type='[^']*'##g" \
             -e "s# lazy_refcounts=\\(on\\|off\\)##g"
 
     # Start an NBD server on the image file, which is what we'll be talking to
Signature · 1 line
1.8.1.4
#1 lore raw
Quoted 5 lines · Fam Zheng

Filter out vmdk creation option 'adapter_type' for vmdk. So that tests with an explicit './check -o adapter_type=XXX' will not fail.

---
 tests/qemu-iotests/common.rc | 1 +
 1 file changed, 1 insertion(+)

Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan