On Tue, Sep 15, 2026 at 06:16:47PM +0800, Zhang Chen wrote: > Replace raw object_ref/unref calls with iothread_ref_and_get/ > unref_and_put_aio_context in iothread-vq-mapping. This allows > tracking IOThread users via the device's canonical QOM path, > improving lifecycle traceability for virtio-blk and > virtio-scsi devices. > > Signed-off-by: Zhang Chen <[email protected]> > --- > hw/block/virtio-blk.c | 8 +++++++- > hw/scsi/virtio-scsi-dataplane.c | 9 +++++++-- > hw/virtio/iothread-vq-mapping.c | 20 +++++++++++++++----- > include/hw/virtio/iothread-vq-mapping.h | 6 +++++- > 4 files changed, 34 insertions(+), 9 deletions(-)
Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
