diff options
| author | Vladimir Sementsov-Ogievskiy | 2018-06-09 17:17:56 +0200 |
|---|---|---|
| committer | Eric Blake | 2018-06-21 16:23:58 +0200 |
| commit | 3d068aff16d6dbf066328977c5152847a62f2a0a (patch) | |
| tree | 58f7593ff7bc554196313a490e5103a9a3dfaea1 /qapi | |
| parent | nbd/server: add nbd_meta_empty_or_pattern helper (diff) | |
| download | qemu-3d068aff16d6dbf066328977c5152847a62f2a0a.tar.gz qemu-3d068aff16d6dbf066328977c5152847a62f2a0a.tar.xz qemu-3d068aff16d6dbf066328977c5152847a62f2a0a.zip | |
nbd/server: implement dirty bitmap export
Handle a new NBD meta namespace: "qemu", and corresponding queries:
"qemu:dirty-bitmap:<export bitmap name>".
With the new metadata context negotiated, BLOCK_STATUS query will reply
with dirty-bitmap data, converted to extents. The new public function
nbd_export_bitmap selects which bitmap to export. For now, only one bitmap
may be exported.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180609151758.17343-5-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: wording tweaks, minor cleanups, additional tracing]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qapi')
0 files changed, 0 insertions, 0 deletions
