mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-21 00:53:27 -06: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
|
@ -252,6 +252,14 @@ void hbitmap_deserialize_ones(HBitmap *hb, uint64_t start, uint64_t count,
|
|||
*/
|
||||
void hbitmap_deserialize_finish(HBitmap *hb);
|
||||
|
||||
/**
|
||||
* hbitmap_sha256:
|
||||
* @bitmap: HBitmap to operate on.
|
||||
*
|
||||
* Returns SHA256 hash of the last level.
|
||||
*/
|
||||
char *hbitmap_sha256(const HBitmap *bitmap, Error **errp);
|
||||
|
||||
/**
|
||||
* hbitmap_free:
|
||||
* @hb: HBitmap to operate on.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue