]> Git Repo - qemu.git/commitdiff
block: Remove cache.writeback from blockdev-add
authorKevin Wolf <[email protected]>
Mon, 14 Mar 2016 12:16:51 +0000 (13:16 +0100)
committerKevin Wolf <[email protected]>
Wed, 30 Mar 2016 09:59:32 +0000 (11:59 +0200)
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 <[email protected]>
qapi/block-core.json

index b1cf77dffabdc1d4ee8211668f32095c5a073a66..a9913f034a864a2c9bb1d325fa01f7e6e2798d8a 100644 (file)
 #
 # 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:
 # Since: 1.7
 ##
 { 'struct': 'BlockdevCacheOptions',
-  'data': { '*writeback': 'bool',
-            '*direct': 'bool',
+  'data': { '*direct': 'bool',
             '*no-flush': 'bool' } }
 
 ##
This page took 0.028511 seconds and 4 git commands to generate.