storage-daemon: Call bdrv_close_all() on exit
commitb55a3c8860b763b62b2cc2f4a6f55379977bbde5
authorMax Reitz <mreitz@redhat.com>
Tue, 27 Oct 2020 19:05:56 +0000 (27 20:05 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Dec 2020 16:52:40 +0000 (11 17:52 +0100)
treebad743232c52d109748d3018ec812ab59f17fdb5
parent7eadb1e59d331563ad6a1c3efd5ce14357de7344
storage-daemon: Call bdrv_close_all() on exit

Otherwise, exports and block devices are not properly shut down and
closed, unless the users explicitly issues blockdev-del and
block-export-del commands for each of them.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20201027190600.192171-17-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
storage-daemon/qemu-storage-daemon.c