diff options
author | Greg Kurz <groug@kaod.org> | 2019-11-18 16:12:07 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-12-17 10:39:47 +1100 |
commit | 58246041d372f5b1cd7ec5242b44dbd5c3a556c4 (patch) | |
tree | 987e129de5ff50740458393edc1565f5ce2b7eea /hw/gpio | |
parent | 7aa22e18092e8eef2bcc77f247576fa44980c7cb (diff) | |
download | qemu-58246041d372f5b1cd7ec5242b44dbd5c3a556c4.zip qemu-58246041d372f5b1cd7ec5242b44dbd5c3a556c4.tar.gz qemu-58246041d372f5b1cd7ec5242b44dbd5c3a556c4.tar.bz2 |
xive/kvm: Trigger interrupts from userspace
When using the XIVE KVM device, the trigger page is directly accessible
in QEMU. Unlike with XICS, no need to ask KVM to fire the interrupt. A
simple store on the trigger page does the job.
Just call xive_esb_trigger().
This may improve performance of emulated devices that go through
qemu_set_irq(), eg. virtio devices created with ioeventfd=off or
configured by the guest to use LSI interrupts, which aren't really
recommended setups.
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <157408992731.494439.3405812941731584740.stgit@bahia.lan>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/gpio')
0 files changed, 0 insertions, 0 deletions