mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
qmp: Ensure consistent granularity type
We treat this field with a variety of different types everywhere in the code. Now it's just uint32_t. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1429314609-29776-4-git-send-email-jsnow@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
0db6e54a8a
commit
5fba6c0e50
5 changed files with 11 additions and 10 deletions
|
@ -339,7 +339,7 @@
|
|||
# Since: 1.3
|
||||
##
|
||||
{ 'type': 'BlockDirtyInfo',
|
||||
'data': {'*name': 'str', 'count': 'int', 'granularity': 'int'} }
|
||||
'data': {'*name': 'str', 'count': 'int', 'granularity': 'uint32'} }
|
||||
|
||||
##
|
||||
# @BlockInfo:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue