diff options
author | Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> | 2019-03-07 16:33:59 +0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-03-08 12:26:45 +0100 |
commit | 57ed557f03e162904d6b137d315526304ac2083b (patch) | |
tree | 9c9bc0bee612111e311a68ec444e00b23c2f18f6 /balloon.c | |
parent | 9ac404c5233f3033435ab250d30ea9f776188a01 (diff) | |
download | qemu-57ed557f03e162904d6b137d315526304ac2083b.zip qemu-57ed557f03e162904d6b137d315526304ac2083b.tar.gz qemu-57ed557f03e162904d6b137d315526304ac2083b.tar.bz2 |
iotests: ask QEMU for supported formats
Supported formats listed by 'qemu' may differ from those listed by
'qemu-img' due to whitelists. Some test cases require specific formats
that may be used with qemu. They can be inquired directly by running
'qemu -drive format=help'. The response takes whitelists into account.
The method supported_formats() serves for that. The method decorator
skip_if_unsupported() checks if all requested formats are whitelisted.
If not, the test case will be skipped. That has been implemented in
the 'check' file in the way similar to the 'test notrun' mechanism.
Suggested-by: Roman Kagan <rkagan@virtuozzo.com>
Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'balloon.c')
0 files changed, 0 insertions, 0 deletions