]> www.infradead.org Git - users/dwmw2/linux.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>
Sat, 12 Dec 2020 19:34:15 +0000 (19:34 +0000)
commitb57c4f18cd0e9e81f19efef6e69c998709d7c7ad
tree5b7b42fc45f427f4e241d5877f7dfe7b9ce70763
parent7b82734f4eb62e8b648b0ce5d77d6da43df36198
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