]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7fab1c8d6fc0084c983b7ae86a8e4ac84d460837
tree6027d74c22ab8dde30f99ab49411c87eac5db8b9
parentf3fc7d42cf34807d011f8c9a88b15948bdc1c5ff
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