]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/xen: Add xen_evtchn device for event channel emulation
authorDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 16 Dec 2022 14:02:29 +0000 (14:02 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 23 Dec 2022 14:29:26 +0000 (14:29 +0000)
commit1bb0985fa5efe50df122b8eb57d121e5df6725e1
treed71fa2f05e8aea4ef1f279b95b03f58af23e75c7
parentacd8efc64b9da51ec04c7e6c3542761e25a13f43
hw/xen: Add xen_evtchn device for event channel emulation

Include basic support for setting HVM_PARAM_CALLBACK_IRQ to the global
vector method HVM_PARAM_CALLBACK_TYPE_VECTOR, which is handled in-kernel
by raising the vector whenever the vCPU's vcpu_info->evtchn_upcall_pending
flag is set.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
hw/i386/kvm/meson.build
hw/i386/kvm/xen_evtchn.c [new file with mode: 0644]
hw/i386/kvm/xen_evtchn.h [new file with mode: 0644]
hw/i386/pc.c
target/i386/kvm/xen-emu.c