]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qemu-iotests/common.rc
qemu-iotests: Add _default_cache_mode and _supported_cache_modes
authorFam Zheng <famz@redhat.com>
Wed, 4 Dec 2013 01:07:00 +0000 (09:07 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 4 Dec 2013 10:55:13 +0000 (11:55 +0100)
commitf210a83c1f809516acd9179d02d8c986c5db24cd
tree19e9b16ddd9516efb7004f61f4068994c4afed5e
parent58cc2ae1e3f9f8cd6830a0af116c51c3355710d3
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>
tests/qemu-iotests/026
tests/qemu-iotests/039
tests/qemu-iotests/052
tests/qemu-iotests/common.rc