summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/common
diff options
context:
space:
mode:
authorMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>2011-01-18 02:01:17 +0900
committerKevin Wolf <kwolf@redhat.com>2012-02-23 10:29:46 +0100
commit9cdfa1b34e22bc09e80042b1ef3e4a5096f260d5 (patch)
tree5e35bba9d58160dc12df1bc3b88e2418f27d834e /tests/qemu-iotests/common
parent62284d1776e4e9d1e39e393398becf7c778ca0ce (diff)
downloadhqemu-9cdfa1b34e22bc09e80042b1ef3e4a5096f260d5.zip
hqemu-9cdfa1b34e22bc09e80042b1ef3e4a5096f260d5.tar.gz
qemu-iotests: add support for rbd and sheepdog protocols
This patch introduces tests for protocols other than file, and initially supports rbd and sheepdog. Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tests/qemu-iotests/common')
-rw-r--r--tests/qemu-iotests/common13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/qemu-iotests/common b/tests/qemu-iotests/common
index d95ba4c..c187f6c 100644
--- a/tests/qemu-iotests/common
+++ b/tests/qemu-iotests/common
@@ -43,6 +43,7 @@ randomize=false
rm -f $tmp.list $tmp.tmp $tmp.sed
export IMGFMT=raw
+export IMGPROTO=file
export QEMU_IO_OPTIONS=""
for r
@@ -123,6 +124,8 @@ check options
-vdi test vdi
-vpc test vpc
-vmdk test vmdk
+ -rbd test rbd
+ -sheepdog test sheepdog
-xdiff graphical mode diff
-nocache use O_DIRECT on backing file
-misalign misalign memory allocations
@@ -179,6 +182,16 @@ testlist options
xpand=false
;;
+ -rbd)
+ IMGPROTO=rbd
+ xpand=false
+ ;;
+
+ -sheepdog)
+ IMGPROTO=sheepdog
+ xpand=false
+ ;;
+
-nocache)
QEMU_IO_OPTIONS="$QEMU_IO_OPTIONS --nocache"
xpand=false
OpenPOWER on IntegriCloud