diff options
author | Kevin Wolf <kwolf@redhat.com> | 2020-09-24 17:26:57 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-10-02 15:46:40 +0200 |
commit | 00917172a688892003605836454312364864e89d (patch) | |
tree | 3fca6db1e76258e0021de8cc9406806f9c20e80f /nbd | |
parent | d794f7f3728df0845be978a3c9aecead9d48c81d (diff) | |
download | qemu-00917172a688892003605836454312364864e89d.zip qemu-00917172a688892003605836454312364864e89d.tar.gz qemu-00917172a688892003605836454312364864e89d.tar.bz2 |
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 'nbd')
0 files changed, 0 insertions, 0 deletions