aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2013-02-07 17:15:04 +0100
committerKevin Wolf <kwolf@redhat.com>2013-02-22 21:21:09 +0100
commite6439d783cce2c5cdbe4f8028f0b45162b540f82 (patch)
tree5f8cfd4117e1f22852af8e8546c6146af983d2c8 /qapi-schema.json
parentc9fc50839863f05545caca92bb9fbead8b1c91bd (diff)
qemu-img: add compressed clusters to BlockFragInfo
Show how many clusters are compressed. This can be used to monitor how many compressed clusters remain and whether to recompress the image. Suggested-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index c20725c7f7..28b070f16b 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -279,6 +279,10 @@
# field is present if the driver for the image format
# supports it
#
+# @compressed-clusters: #optional total number of compressed clusters, this
+# field is present if the driver for the image format
+# supports it
+#
# Since: 1.4
#
##
@@ -288,7 +292,7 @@
'*image-end-offset': 'int', '*corruptions': 'int', '*leaks': 'int',
'*corruptions-fixed': 'int', '*leaks-fixed': 'int',
'*total-clusters': 'int', '*allocated-clusters': 'int',
- '*fragmented-clusters': 'int' } }
+ '*fragmented-clusters': 'int', '*compressed-clusters': 'int' } }
##
# @StatusInfo: