nbd: Simplify qemu bitmap context name
commit02e87e3b1c77422b71855102b9cb884e4c7823f7
authorEric Blake <eblake@redhat.com>
Tue, 27 Oct 2020 05:05:50 +0000 (27 00:05 -0500)
committerEric Blake <eblake@redhat.com>
Fri, 30 Oct 2020 20:10:15 +0000 (30 15:10 -0500)
tree23a4d31524b41797d6efff326d6c5194f3183d40
parentcbad81cef8cc7b220f04600997ea29d7302bae00
nbd: Simplify qemu bitmap context name

Each dirty bitmap already knows its name; by reducing the scope of the
places where we construct "qemu:dirty-bitmap:NAME" strings, tracking
the name is more localized, and there are fewer per-export fields to
worry about.  This in turn will make it easier for an upcoming patch
to export more than one bitmap at once.

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