summaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-01-21 17:09:45 +0100
committerKevin Wolf <kwolf@redhat.com>2013-01-25 18:18:34 +0100
commit50717e941b9f306a45292621999eeafbaa954418 (patch)
treefce87f84ffc40ead2ad1b654d7439cc24678f4a7 /qapi-schema.json
parentacc906c6c5d5745fe7a3a2ed1bb5f0b1d6d1f21b (diff)
downloadqemu-50717e941b9f306a45292621999eeafbaa954418.tar.gz
qemu-50717e941b9f306a45292621999eeafbaa954418.tar.bz2
qemu-50717e941b9f306a45292621999eeafbaa954418.zip
block: allow customizing the granularity of the dirty bitmap
Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 6d7252b9e8..ce4f901dc6 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -667,10 +667,12 @@
#
# @count: number of dirty bytes according to the dirty bitmap
#
+# @granularity: granularity of the dirty bitmap in bytes (since 1.4)
+#
# Since: 1.3
##
{ 'type': 'BlockDirtyInfo',
- 'data': {'count': 'int'} }
+ 'data': {'count': 'int', 'granularity': 'int'} }
##
# @BlockInfo: