summary refs log tree commit diff stats
path: root/block/commit.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2018-04-09 14:44:17 +0300
committerKevin Wolf <kwolf@redhat.com>2018-04-10 16:33:08 +0200
commitf48351d2f3dd94aa499f4197ae37a059559506bf (patch)
tree4e9547ba1967319375dcfd9530937552f21b556e /block/commit.c
parent07c13a71721d9f8c690b66752964e254af247475 (diff)
downloadfocaccia-qemu-f48351d2f3dd94aa499f4197ae37a059559506bf.tar.gz
focaccia-qemu-f48351d2f3dd94aa499f4197ae37a059559506bf.zip
iotests.py: improve verify_image_format helper
Support "generic" formats like in bash tests with their
   _supported_fmt generic
The test, supporting "generic" formats will run if IMGFMT_GENERIC =
true, which is default, except for bochs and cloop. However, you can
use verify_image_format(['generic', 'bochs']), which will run for all
except cloop (for this moment).

Also, add an assert (we don't want set both arguments) and remove
duplication.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions