]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/xen: setup pvclock updates
authorJoao Martins <joao.m.martins@oracle.com>
Fri, 1 Feb 2019 18:01:45 +0000 (13:01 -0500)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 4 Feb 2021 14:19:39 +0000 (14:19 +0000)
commitf3fc7d42cf34807d011f8c9a88b15948bdc1c5ff
tree9ac660afc423ced9ed81e4454dd1337e0f559a32
parent3c4e42810f797fa2c3a9d34cba6f88598730caa9
KVM: x86/xen: setup pvclock updates

Parameterise kvm_setup_pvclock_page() a little bit so that it can be
invoked for different gfn_to_hva_cache structures, and with different
offsets. Then we can invoke it for the normal KVM pvclock and also for
the Xen one in the vcpu_info.

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