mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() The difference between these two functions: - virtio_notify() uses the interrupt code path (MSI or classic IRQs) - virtio_notify_irqfd() uses guest notifiers (irqfds) virtio_notify() can only be called with the BQL held because the interrupt code path requires the BQL. Device models use virtio_notify_irqfd() from IOThreads since the BQL is not held. The two functions can be unified by pushing down the if (qemu_in_iothread()) check from virtio-blk and virtio-scsi into core virtio code. This is in preparation for the next commit that will add irqfd support to virtio_notify_config() and where it's unattractive to introduce another irqfd-only API for device model callers. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20250922220149.498967-3-stefanha@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
3 weeks ago | |
---|---|---|
.. | ||
dataplane | 10 months ago | |
Kconfig | 5 months ago | |
block.c | 7 months ago | |
cdrom.c | ||
fdc-internal.h | 2 years ago | |
fdc-isa.c | 6 months ago | |
fdc-sysbus.c | 6 months ago | |
fdc.c | 6 months ago | |
hd-geometry.c | 3 months ago | |
m25p80.c | 6 months ago | |
m25p80_sfdp.c | 1 year ago | |
m25p80_sfdp.h | 1 year ago | |
meson.build | 3 months ago | |
pflash_cfi01.c | 6 months ago | |
pflash_cfi02.c | 6 months ago | |
swim.c | 6 months ago | |
trace-events | 2 years ago | |
trace.h | ||
vhost-user-blk.c | 3 months ago | |
virtio-blk-common.c | 2 years ago | |
virtio-blk.c | 3 weeks ago | |
xen-block.c | 6 months ago | |
xen_blkif.h |