summaryrefslogtreecommitdiffstats
path: root/block/export
diff options
context:
space:
mode:
authorKevin Wolf2020-09-24 17:26:57 +0200
committerKevin Wolf2020-10-02 15:46:40 +0200
commit00917172a688892003605836454312364864e89d (patch)
tree3fca6db1e76258e0021de8cc9406806f9c20e80f /block/export
parentnbd: Remove NBDExport.close callback (diff)
downloadqemu-00917172a688892003605836454312364864e89d.tar.gz
qemu-00917172a688892003605836454312364864e89d.tar.xz
qemu-00917172a688892003605836454312364864e89d.zip
qemu-nbd: Use blk_exp_add() to create the export
With this change, NBD exports are now only created through the BlockExport interface. This allows us finally to move things from the NBD layer to the BlockExport layer if they make sense for other export types, too. blk_exp_add() returns only a weak reference, so the explicit nbd_export_put() goes away. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200924152717.287415-12-kwolf@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/export')
0 files changed, 0 insertions, 0 deletions