]> 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>
Wed, 15 Feb 2023 15:16:57 +0000 (16:16 +0100)
commit9bde425b1a4683a37a7b536d67d559ced14da431
treec37e14469f379f360ac72ca5bb469dbf3f057e89
parent832e0737029716893005087868fc6f0b96369b1b
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>
Reviewed-by: Paul Durrant <paul@xen.org>
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