diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-03-14 13:16:51 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-03-30 11:59:32 +0200 |
commit | aaa436f9982ebf3988c9a25661c96bca97b259b0 (patch) | |
tree | 28f4dfdc2edc733419a96cc6d9998277537ef95a | |
parent | 7a827aaec8c4bb56826f07605b895909b5fa4dde (diff) | |
download | qemu-aaa436f9982ebf3988c9a25661c96bca97b259b0.tar.gz qemu-aaa436f9982ebf3988c9a25661c96bca97b259b0.tar.bz2 qemu-aaa436f9982ebf3988c9a25661c96bca97b259b0.zip |
block: Remove cache.writeback from blockdev-add
The WCE bit is a frontend property and should not be part of the backend
configuration. This is especially important because the same BDS can be
used by different users with different WCE requirements.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r-- | qapi/block-core.json | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index b1cf77dffa..a9913f034a 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -1614,7 +1614,6 @@ # # Includes cache-related options for block devices # -# @writeback: #optional enables writeback mode for any caches (default: true) # @direct: #optional enables use of O_DIRECT (bypass the host page cache; # default: false) # @no-flush: #optional ignore any flush requests for the device (default: @@ -1623,8 +1622,7 @@ # Since: 1.7 ## { 'struct': 'BlockdevCacheOptions', - 'data': { '*writeback': 'bool', - '*direct': 'bool', + 'data': { '*direct': 'bool', '*no-flush': 'bool' } } ## |