summaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-05-03 00:35:37 +0800
committerKevin Wolf <kwolf@redhat.com>2017-05-11 11:02:38 +0200
commit5a9347c6730ff6d68bba30b24f80cd90a6671a20 (patch)
tree14687a2066e5ff82a0cda3a08451d27afcf7a62a /qapi
parent5176196c3233dcb80aacc719be6b6502bb1c972b (diff)
downloadqemu-5a9347c6730ff6d68bba30b24f80cd90a6671a20.zip
block: Add, parse and store "force-share" option
Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/block-core.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 614181b553..30d5952321 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -2898,6 +2898,8 @@
# (default: false)
# @detect-zeroes: detect and optimize zero writes (Since 2.1)
# (default: off)
+# @force-share: force share all permission on added nodes.
+# Requires read-only=true. (Since 2.10)
#
# Remaining options are determined by the block driver.
#
@@ -2909,6 +2911,7 @@
'*discard': 'BlockdevDiscardOptions',
'*cache': 'BlockdevCacheOptions',
'*read-only': 'bool',
+ '*force-share': 'bool',
'*detect-zeroes': 'BlockdevDetectZeroesOptions' },
'discriminator': 'driver',
'data': {