xemu/storage-daemon
Sergio Lopez 1895b977f9 block: move blk_exp_close_all() to qemu_cleanup()
Move blk_exp_close_all() from bdrv_close() to qemu_cleanup(), before
bdrv_drain_all_begin().

Export drivers may have coroutines yielding at some point in the block
layer, so we need to shut them down before draining the block layer,
as otherwise they may get stuck blk_wait_while_drained().

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1900505
Signed-off-by: Sergio Lopez <slp@redhat.com>
Message-Id: <20210201125032.44713-3-slp@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2021-02-02 13:23:47 +01:00
..
qapi docs: generate qemu-storage-daemon-qmp-ref(7) man page 2020-12-18 11:48:39 +01:00
meson.build meson: Propagate gnutls dependency 2021-01-12 12:38:03 +01:00
qemu-storage-daemon.c block: move blk_exp_close_all() to qemu_cleanup() 2021-02-02 13:23:47 +01:00