diff options
| author | Vladimir Sementsov-Ogievskiy | 2018-04-09 13:44:17 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-04-10 16:33:08 +0200 |
| commit | f48351d2f3dd94aa499f4197ae37a059559506bf (patch) | |
| tree | 4e9547ba1967319375dcfd9530937552f21b556e /block/commit.c | |
| parent | hw/block/pflash_cfi: fix off-by-one error (diff) | |
| download | qemu-f48351d2f3dd94aa499f4197ae37a059559506bf.tar.gz qemu-f48351d2f3dd94aa499f4197ae37a059559506bf.tar.xz 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
