]> www.infradead.org Git - users/dwmw2/qemu.git/commit
i386/xen: handle register_vcpu_info
authorJoao Martins <joao.m.martins@oracle.com>
Fri, 29 Jun 2018 14:54:50 +0000 (10:54 -0400)
committerJoao Martins <joao.m.martins@oracle.com>
Tue, 19 Feb 2019 14:00:57 +0000 (09:00 -0500)
commitabaf3a15920731f8e8d220de0d20a43d3dc2297d
tree3398a3ff984053f880c3dc0f82468f8890864f15
parentf5172b7d517928193f411b7f2a55e8d6a5a52525
i386/xen: handle register_vcpu_info

Handle the hypercall to set a per vcpu info, as opposed to using
shared_info equivalent. Also, Guests may not call
VCPUOP_register_vcpu_info and will fail in event channel operations if a
proper one isn't set in Qemu.

So derive the hva from shared_info which is where these are located when
guest doesn't seed an additional pointer.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
linux-headers/linux/kvm.h
target/i386/cpu.h
target/i386/trace-events
target/i386/xen-proto.h
target/i386/xen.c