diff options
author | Fam Zheng <famz@redhat.com> | 2014-01-23 10:03:26 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-01-24 14:33:01 +0100 |
commit | c8059b97e1f9b4635b836ee98373a0f72f9fc0b4 (patch) | |
tree | b0b94819f101a3c1a42d36aa0d48977bf7bad844 /qapi-schema.json | |
parent | d8a7b061ae01e5692cc994f05ad6480d8c170125 (diff) |
qapi: Add "backing" to BlockStats
Currently there is no way to query BlockStats of the backing chain. This
adds "backing" field into BlockStats to make it possible.
The comment of "parent" is reworded.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 35f7b34410..a433869962 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1022,15 +1022,17 @@ # # @stats: A @BlockDeviceStats for the device. # -# @parent: #optional This may point to the backing block device if this is a -# a virtual block device. If it's a backing block, this will point -# to the backing file is one is present. +# @parent: #optional This describes the file block device if it has one. +# +# @backing: #optional This describes the backing block device if it has one. +# (Since 2.0) # # Since: 0.14.0 ## { 'type': 'BlockStats', 'data': {'*device': 'str', 'stats': 'BlockDeviceStats', - '*parent': 'BlockStats'} } + '*parent': 'BlockStats', + '*backing': 'BlockStats'} } ## # @query-blockstats: |