]> git.proxmox.com Git - mirror_qemu.git/commit - nbd/server.c
nbd: Allow export of multiple bitmaps for one device
authorEric Blake <eblake@redhat.com>
Tue, 27 Oct 2020 05:05:52 +0000 (00:05 -0500)
committerEric Blake <eblake@redhat.com>
Fri, 30 Oct 2020 20:10:15 +0000 (15:10 -0500)
commit3b1f244c59b7045680e615d50dc444a316abd891
treeb4bddcd527010e7db1f162e842faa42e54d2f2a0
parent47ec485e8d5dba978126d31b9484d717ac1222ba
nbd: Allow export of multiple bitmaps for one device

With this, 'qemu-nbd -B b0 -B b1 -f qcow2 img.qcow2' can let you sniff
out multiple bitmaps from one server.  qemu-img as client can still
only read one bitmap per client connection, but other NBD clients
(hello libnbd) can now read multiple bitmaps in a single pass.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20201027050556.269064-8-eblake@redhat.com>
nbd/server.c
tests/qemu-iotests/291