KVM: x86/xen: register vcpu time info region
authorJoao Martins <joao.m.martins@oracle.com>
Mon, 23 Jul 2018 15:20:57 +0000 (11:20 -0400)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 4 Feb 2021 14:19:39 +0000 (14:19 +0000)
commitf2340cd9e41dc463cb1189274f3db560c1dfa1f4
tree6027d74c22ab8dde30f99ab49411c87eac5db8b9
parentaa096aa0a05ff7f1e7b8da95fae7aa71668212c7
KVM: x86/xen: register vcpu time info region

Allow the Xen emulated guest the ability to register secondary
vcpu time information. On Xen guests this is used in order to be
mapped to userspace and hence allow vdso gettimeofday to work.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c
arch/x86/kvm/xen.c
include/uapi/linux/kvm.h