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 |