OSDN Git Service

qemu-iotests: Add "-c <cache-mode>" option
authorFam Zheng <famz@redhat.com>
Wed, 4 Dec 2013 01:06:58 +0000 (09:06 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 4 Dec 2013 10:55:13 +0000 (11:55 +0100)
commit3baa84491a43c6ba4909cbff69a9f045df9f4879
tree37d9ff0fc281d4b702367f1f0a220aaea40f746f
parentf8413b3c23b08a547ce18609acc6fae5fd04ed5c
qemu-iotests: Add "-c <cache-mode>" option

The option sets cache mode used in the tests. "-nocache" is changed to
an alias to "-c none", and internally passes "-t none" to qemu-io.

Python scripts will make use of option this in the next commit.

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/check
tests/qemu-iotests/common