[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 33/34] qemu-iotests: Test cache mode option inhe

From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH 33/34] qemu-iotests: Test cache mode option inheritance
Date: Fri, 15 May 2015 21:16:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 08.05.2015 19:22, Kevin Wolf wrote:
This is doing a more complete test on setting cache modes both while
opening an image (i.e. in a -drive command line) and in reopen
situations. It checks that reopen can specify options for child nodes
and that cache modes are correctly inherited from parent nodes where
they are not specified.

Signed-off-by: Kevin Wolf <address@hidden>
  tests/qemu-iotests/132     | 336 ++++++++++++++++++++
  tests/qemu-iotests/132.out | 767 +++++++++++++++++++++++++++++++++++++++++++++
  tests/qemu-iotests/group   |   1 +
  3 files changed, 1104 insertions(+)
  create mode 100755 tests/qemu-iotests/132
  create mode 100644 tests/qemu-iotests/132.out

So starting from now I once again need to specify -c writethrough for running tests in tmpfs... Welp.

("Welp" because there is no actual strict requirement to have O_DIRECT, because we don't actually use it but only check the configuration; so using null-co would be fine, too, but we can only use that with raw as the format driver, and raw doesn't support backing files...)

Reviewed-by: Max Reitz <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]