mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
qmp: add x-debug-block-dirty-bitmap-sha256
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-id: 20170628120530.31251-26-vsementsov@virtuozzo.com Signed-off-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
parent
eb738bb50f
commit
a3b52535e8
7 changed files with 78 additions and 1 deletions
|
|
@ -1635,6 +1635,33 @@
|
|||
{ 'command': 'block-dirty-bitmap-clear',
|
||||
'data': 'BlockDirtyBitmap' }
|
||||
|
||||
##
|
||||
# @BlockDirtyBitmapSha256:
|
||||
#
|
||||
# SHA256 hash of dirty bitmap data
|
||||
#
|
||||
# @sha256: ASCII representation of SHA256 bitmap hash
|
||||
#
|
||||
# Since: 2.10
|
||||
##
|
||||
{ 'struct': 'BlockDirtyBitmapSha256',
|
||||
'data': {'sha256': 'str'} }
|
||||
|
||||
##
|
||||
# @x-debug-block-dirty-bitmap-sha256:
|
||||
#
|
||||
# Get bitmap SHA256
|
||||
#
|
||||
# Returns: BlockDirtyBitmapSha256 on success
|
||||
# If @node is not a valid block device, DeviceNotFound
|
||||
# If @name is not found or if hashing has failed, GenericError with an
|
||||
# explanation
|
||||
#
|
||||
# Since: 2.10
|
||||
##
|
||||
{ 'command': 'x-debug-block-dirty-bitmap-sha256',
|
||||
'data': 'BlockDirtyBitmap', 'returns': 'BlockDirtyBitmapSha256' }
|
||||
|
||||
##
|
||||
# @blockdev-mirror:
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue