Committed by Eric Blake
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 <firstname.lastname@example.org> Message-Id: <email@example.com> Reviewed-by: Eric Blake <firstname.lastname@example.org> [eblake: wording tweaks, minor cleanups, additional tracing] Signed-off-by: Eric Blake <email@example.com>
This diff is collapsed. Click to expand it.