summary refs log tree commit diff stats
path: root/scripts/qapi/features.py
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2025-09-22 18:01:47 -0400
committerMichael S. Tsirkin <mst@redhat.com>2025-10-05 09:01:08 -0400
commit3b11003fa67b3f055637ff52e1fe8327f7590ee1 (patch)
treea78dc7d6b6df2113555cf35138b7d0d4d6f61087 /scripts/qapi/features.py
parent1e9181dc5277f27fcda21f64a399f12bbf578e5e (diff)
downloadfocaccia-qemu-3b11003fa67b3f055637ff52e1fe8327f7590ee1.tar.gz
focaccia-qemu-3b11003fa67b3f055637ff52e1fe8327f7590ee1.zip
virtio: support irqfd in virtio_notify_config()
virtio_error() calls virtio_notify_config() to inject a VIRTIO
Configuration Change Notification. This doesn't work from IOThreads
because the BQL is not held and the interrupt code path requires the
BQL.

Follow the same approach as virtio_notify() and use ->config_notifier
(an irqfd) when called from the IOThread.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20250922220149.498967-4-stefanha@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/qapi/features.py')
0 files changed, 0 insertions, 0 deletions