diff options
author | Fam Zheng | 2013-12-04 02:07:00 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2013-12-04 11:55:13 +0100 |
commit | f210a83c1f809516acd9179d02d8c986c5db24cd (patch) | |
tree | 19e9b16ddd9516efb7004f61f4068994c4afed5e /tests/qemu-iotests/039 | |
parent | qemu-iotests: Honour cache mode in iotests.py (diff) | |
download | qemu-f210a83c1f809516acd9179d02d8c986c5db24cd.tar.gz qemu-f210a83c1f809516acd9179d02d8c986c5db24cd.tar.xz qemu-f210a83c1f809516acd9179d02d8c986c5db24cd.zip |
qemu-iotests: Add _default_cache_mode and _supported_cache_modes
This replaces _unsupported_qemu_io_options and check for support of
current cache mode, and allow to provide a default if user didn't
specify.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/039')
-rwxr-xr-x | tests/qemu-iotests/039 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qemu-iotests/039 b/tests/qemu-iotests/039 index 8bade92a80..6abf47267f 100755 --- a/tests/qemu-iotests/039 +++ b/tests/qemu-iotests/039 @@ -44,7 +44,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _supported_fmt qcow2 _supported_proto generic _supported_os Linux -_unsupported_qemu_io_options --nocache +_default_cache_mode "writethrough" +_supported_cache_modes "writethrough" size=128M |