mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-24 08:28:37 -07:00
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 | ||