diff options
| author | Greg Kurz | 2019-11-18 16:12:07 +0100 |
|---|---|---|
| committer | David Gibson | 2019-12-17 00:39:47 +0100 |
| commit | 58246041d372f5b1cd7ec5242b44dbd5c3a556c4 (patch) | |
| tree | 987e129de5ff50740458393edc1565f5ce2b7eea /include | |
| parent | ppc/pnv: Remove pnv_xive_vst_size() routine (diff) | |
| download | qemu-58246041d372f5b1cd7ec5242b44dbd5c3a556c4.tar.gz qemu-58246041d372f5b1cd7ec5242b44dbd5c3a556c4.tar.xz qemu-58246041d372f5b1cd7ec5242b44dbd5c3a556c4.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
