diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2013-02-07 17:15:04 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-02-22 21:21:09 +0100 |
commit | e6439d783cce2c5cdbe4f8028f0b45162b540f82 (patch) | |
tree | 5f8cfd4117e1f22852af8e8546c6146af983d2c8 /qapi-schema.json | |
parent | c9fc50839863f05545caca92bb9fbead8b1c91bd (diff) | |
download | qemu-e6439d783cce2c5cdbe4f8028f0b45162b540f82.zip qemu-e6439d783cce2c5cdbe4f8028f0b45162b540f82.tar.gz qemu-e6439d783cce2c5cdbe4f8028f0b45162b540f82.tar.bz2 |
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.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index c20725c..28b070f 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: |