From 9cdfa1b34e22bc09e80042b1ef3e4a5096f260d5 Mon Sep 17 00:00:00 2001 From: MORITA Kazutaka Date: Tue, 18 Jan 2011 02:01:17 +0900 Subject: 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 Signed-off-by: Christoph Hellwig --- tests/qemu-iotests/common | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/qemu-iotests/common') 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 -- cgit v1.1