]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/xen: Implement EVTCHNOP_unmask
authorDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 13 Dec 2022 17:20:46 +0000 (17:20 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 30 Jan 2023 19:53:45 +0000 (19:53 +0000)
commit35c657c605a2613296158add2eec4cc8138535ba
tree4eee2262eeb62676e6e0ca48c4c68184e02843ed
parentcfe5f3fadca2b9dc5dbb562edc32afc43f08b77c
hw/xen: Implement EVTCHNOP_unmask

This finally comes with a mechanism for actually injecting events into
the guest vCPU, with all the atomic-test-and-set that's involved in
setting the bit in the shinfo, then the index in the vcpu_info, and
injecting either the lapic vector as MSI, or letting KVM inject the
bare vector.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
hw/i386/kvm/xen_evtchn.c
hw/i386/kvm/xen_evtchn.h
target/i386/kvm/xen-emu.c