diff options
| author | Vladimir Sementsov-Ogievskiy | 2017-06-28 14:05:25 +0200 |
|---|---|---|
| committer | Max Reitz | 2017-07-11 17:44:59 +0200 |
| commit | a3b52535e8a577d9b12887a34183fe9077ea24d8 (patch) | |
| tree | b97d4f9dfd789437e388849fca661d54196db0b5 /qapi | |
| parent | qmp: add autoload parameter to block-dirty-bitmap-add (diff) | |
| download | qemu-a3b52535e8a577d9b12887a34183fe9077ea24d8.tar.gz qemu-a3b52535e8a577d9b12887a34183fe9077ea24d8.tar.xz qemu-a3b52535e8a577d9b12887a34183fe9077ea24d8.zip | |
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>
Diffstat (limited to 'qapi')
| -rw-r--r-- | qapi/block-core.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index fb69efef81..9b5047d85d 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -1636,6 +1636,33 @@ '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: # # Start mirroring a block device's writes to a new destination. |
