diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-03-26 13:05:23 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-04-01 13:59:46 +0200 |
commit | 47f73da0a7d36e399eaa353d93afce90de9b599d (patch) | |
tree | c187477e4f52c1e66fe0cab3cada0ad003610a71 /tests/qemu-iotests/common.rc | |
parent | c5a33ee9eee031c9bae362b9bd7045cd8ff24d86 (diff) | |
download | hqemu-47f73da0a7d36e399eaa353d93afce90de9b599d.zip hqemu-47f73da0a7d36e399eaa353d93afce90de9b599d.tar.gz |
qemu-iotests: add ./check -cloop support
Add the cloop block driver to qemu-iotests.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/common.rc')
-rw-r--r-- | tests/qemu-iotests/common.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc index 881079b..7f00883 100644 --- a/tests/qemu-iotests/common.rc +++ b/tests/qemu-iotests/common.rc @@ -364,6 +364,9 @@ _fail() # _supported_fmt() { + # "generic" is suitable for most image formats. For some formats it doesn't + # work, however (most notably read-only formats), so they can opt out by + # setting IMGFMT_GENERIC to false. for f; do if [ "$f" = "$IMGFMT" -o "$f" = "generic" -a "$IMGFMT_GENERIC" = "true" ]; then return |