diff options
author | Eric Auger | 2015-10-05 20:30:12 +0200 |
---|---|---|
committer | Alex Williamson | 2015-10-05 20:30:12 +0200 |
commit | a5b39cd3f647eaaaef5b648beda5cb2f387418c0 (patch) | |
tree | a7c6d69a52116ae3bf9524cd412df845b8249aab /trace-events | |
parent | hw/vfio/platform: change interrupt/unmask fields into pointer (diff) | |
download | qemu-a5b39cd3f647eaaaef5b648beda5cb2f387418c0.tar.gz qemu-a5b39cd3f647eaaaef5b648beda5cb2f387418c0.tar.xz qemu-a5b39cd3f647eaaaef5b648beda5cb2f387418c0.zip |
hw/vfio/platform: do not set resamplefd for edge-sensitive IRQS
In irqfd mode, current code attempts to set a resamplefd whatever
the type of the IRQ. For an edge-sensitive IRQ this attempt fails
and as a consequence, the whole irqfd setup fails and we fall back
to the slow mode. This patch bypasses the resamplefd setting for
non level-sentive IRQs.
Signed-off-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r-- | trace-events | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trace-events b/trace-events index 36db793b47..67902920e8 100644 --- a/trace-events +++ b/trace-events @@ -1624,7 +1624,9 @@ vfio_platform_intp_interrupt(int pin, int fd) "Inject IRQ #%d (fd = %d)" vfio_platform_intp_inject_pending_lockheld(int pin, int fd) "Inject pending IRQ #%d (fd = %d)" vfio_platform_populate_interrupts(int pin, int count, int flags) "- IRQ index %d: count %d, flags=0x%x" vfio_intp_interrupt_set_pending(int index) "irq %d is set PENDING" -vfio_platform_start_irqfd_injection(int index, int fd, int resamplefd) "IRQ index=%d, fd = %d, resamplefd = %d" +vfio_platform_start_level_irqfd_injection(int index, int fd, int resamplefd) "IRQ index=%d, fd = %d, resamplefd = %d" +vfio_platform_start_edge_irqfd_injection(int index, int fd) "IRQ index=%d, fd = %d" + #hw/acpi/memory_hotplug.c mhp_acpi_invalid_slot_selected(uint32_t slot) "0x%"PRIx32 |