diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-09-08 15:09:01 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-09-29 14:13:39 +0200 |
commit | 0a4279d97c501254f6164b8abcd89055a11e2dc5 (patch) | |
tree | 29f6a3879afac593ff4ea878f0021bb90cb99c31 /tests/qemu-iotests/087 | |
parent | 685552850bf29ef1cd4bef0e2629cbc3ebf0a23b (diff) | |
download | qemu-0a4279d97c501254f6164b8abcd89055a11e2dc5.zip qemu-0a4279d97c501254f6164b8abcd89055a11e2dc5.tar.gz qemu-0a4279d97c501254f6164b8abcd89055a11e2dc5.tar.bz2 |
block/qapi: Move 'aio' option to file driver
The option whether or not to use a native AIO interface really isn't a
generic option for all drivers, but only applies to the native file
protocols. This patch moves the option in blockdev-add to the
appropriate places (raw-posix and raw-win32).
We still have to keep the flag BDRV_O_NATIVE_AIO for compatibility
because so far the AIO option was usually specified on the wrong layer
(the top-level format driver, which didn't even look at it) and then
inherited by the protocol driver (where it was actually used). We can't
forbid this use except in new interfaces.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/087')
-rwxr-xr-x | tests/qemu-iotests/087 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/087 b/tests/qemu-iotests/087 index 5c04577..b1ac71f 100755 --- a/tests/qemu-iotests/087 +++ b/tests/qemu-iotests/087 @@ -117,10 +117,10 @@ run_qemu <<EOF "options": { "driver": "$IMGFMT", "node-name": "disk", - "aio": "native", "file": { "driver": "file", - "filename": "$TEST_IMG" + "filename": "$TEST_IMG", + "aio": "native" } } } |