summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2013-05-03 09:31:40 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2013-05-03 10:34:16 +0200
commit50522d969be315457e3296d8a32990b58a203902 (patch)
treea178ea170fe7961ff1cf4ccc12170ee533e74fbc /tests/qemu-iotests
parentcdeaf1f15909e2e8af38f45aea7cfa467a729c52 (diff)
downloadqemu-50522d969be315457e3296d8a32990b58a203902.zip
qemu-iotests: Filter out vmdk creation options
Cover new image creation options for vmdk, so we can use '-o zeroed_grain=XXX' and '-o subformat=XXX' to run the tests successfully. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests')
-rw-r--r--tests/qemu-iotests/common.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index a536bf70a7..442cf516ef 100644
--- a/tests/qemu-iotests/common.rc
+++ b/tests/qemu-iotests/common.rc
@@ -127,6 +127,8 @@ _make_test_img()
-e "s# compat='[^']*'##g" \
-e "s# compat6=\\(on\\|off\\)##g" \
-e "s# static=\\(on\\|off\\)##g" \
+ -e "s# zeroed_grain=\\(on\\|off\\)##g" \
+ -e "s# subformat='[^']*'##g" \
-e "s# lazy_refcounts=\\(on\\|off\\)##g"
# Start an NBD server on the image file, which is what we'll be talking to