]> git.ipfire.org Git - thirdparty/qemu.git/commit
block/export: Move refcount from NBDExport to BlockExport
authorKevin Wolf <kwolf@redhat.com>
Thu, 24 Sep 2020 15:26:59 +0000 (17:26 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 2 Oct 2020 13:46:40 +0000 (15:46 +0200)
commitc69de1bef59ba0d824cd9d5e9da602cb23c29e4b
tree44c0095a1f47006da6297c23f3b0a372fb715dab
parentdbc9e94a23dfdebe3bd610165d25ca080e705455
block/export: Move refcount from NBDExport to BlockExport

Having a refcount makes sense for all types of block exports. It is also
a prerequisite for keeping a list of all exports at the BlockExport
level.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200924152717.287415-14-kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/export/export.c
blockdev-nbd.c
include/block/export.h
include/block/nbd.h
nbd/server.c