Patchwork [12/15] qemu-iotests: Filter out vmdk creation options

login
register
mail settings
Submitter Stefan Hajnoczi
Date May 3, 2013, 11:52 a.m.
Message ID <1367581972-4208-13-git-send-email-stefanha@redhat.com>
Download mbox | patch
Permalink /patch/241284/
State New
Headers show

Comments

Stefan Hajnoczi - May 3, 2013, 11:52 a.m.
From: Fam Zheng <famz@redhat.com>

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>
---
 tests/qemu-iotests/common.rc | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index a536bf7..442cf51 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