mirror of
https://github.com/qemu/qemu.git
synced 2024-12-16 16:53:28 +08:00
de79b52604
Most export types install BlockDeviceOps pointers. It is easy to forget to remove them because that happens automatically via the "drive" qdev property in hw/ but not block/export/. Put blk_set_dev_ops(blk, NULL, NULL) calls in the core export.c code so the export types don't need to remember. This fixes the nbd and vhost-user-blk export types. Fixes: |
||
---|---|---|
.. | ||
export.c | ||
fuse.c | ||
meson.build | ||
vduse-blk.c | ||
vduse-blk.h | ||
vhost-user-blk-server.c | ||
vhost-user-blk-server.h | ||
virtio-blk-handler.c | ||
virtio-blk-handler.h |