]> www.infradead.org Git - users/dwmw2/qemu.git/commit
i386/xen: handle upcall related hypercalls
authorAnkur Arora <ankur.a.arora@oracle.com>
Thu, 9 Aug 2018 18:24:30 +0000 (14:24 -0400)
committerJoao Martins <joao.m.martins@oracle.com>
Tue, 19 Feb 2019 14:00:57 +0000 (09:00 -0500)
commitabaeb9e778794a4a7fb6f4391661bb948ec15f40
treee697eac55af2141362c32bbd96df408c4941e3d3
parent5d6b2e19fdb63c85e1fd2b5732d5a684ec871111
i386/xen: handle upcall related hypercalls

It handles HVMOP_set_param(.index = HVM_PARAM_CALLBACK_IRQ) which
sets the upcall IRQ from the guest. This is not a APIC asserted
vector and hence we need to add a new special irqchip route which
further requires special hypervisor enlightment. We gate enabling
this with KVM_CAP_XEN_HVM_GUEST which has the necessary irqchip
route type support.

Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com>
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
accel/kvm/kvm-all.c
include/sysemu/kvm.h
linux-headers/linux/kvm.h
target/i386/kvm.c
target/i386/trace-events
target/i386/xen-proto.h
target/i386/xen.c
target/i386/xen.h