On Wed, Nov 20, 2013 at 03:44:14PM +0800, Fam Zheng wrote:
> -_unsupported_qemu_io_options()
> +_supported_cache_modes()
> {
> -for bad_opt
> -do
> -for opt in $QEMU_IO_OPTIONS
> -do
> -if [ "$bad_opt" = "$opt" ]
> -then
> -_notrun "n
On 2013年11月21日 20:39, Stefan Hajnoczi wrote:
On Wed, Nov 20, 2013 at 03:44:14PM +0800, Fam Zheng wrote:
-_unsupported_qemu_io_options()
+_supported_cache_modes()
{
-for bad_opt
-do
-for opt in $QEMU_IO_OPTIONS
-do
-if [ "$bad_opt" = "$opt" ]
-the
This replaces _unsupported_qemu_io_options and check for support of
current cache mode.
If user dosen't give "-c " or "-nocache", the first supported
cache mode is used in qemu-io.
Signed-off-by: Fam Zheng
---
tests/qemu-iotests/026 | 2 +-
tests/qemu-iotests/039 | 2 +-
tests/qem