]> 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>
Fri, 20 Jan 2023 12:28:52 +0000 (12:28 +0000)
commit9d40753896cc2fb2971fabf8aa486bb780ae0503
treec5bb046fb30eb856defb12518bba7b0a9ab79b90
parentc3207bf4423ae4b7b9c8356930cd429d6fcab3a6
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