KVM:x86: fixes for get_kvmclock_ns

Submitted by Roman Kagan on Oct. 31, 2016, 5:32 p.m.

Details

Reviewer None
Submitted Oct. 31, 2016, 5:32 p.m.
Last Updated Nov. 1, 2016, 4:35 a.m.
Revision 1

Cover Letter

These two patches address #PSBM-54338, by making VMCS access only from
vCPU context.

Roman Kagan (2):
  KVM:x86: remnants of get_kvmclock_ns port
  KVM:x86: avoid VMCS access from non-vCPU context

---
NOTE: the bug is present in the mainline kernel.  The patch has been
posted; please don't commit in vzkernel until it's reviewed upstream.

 arch/x86/kvm/hyperv.c | 16 +++++++---------
 arch/x86/kvm/x86.c    | 25 ++++++++++---------------
 arch/x86/kvm/x86.h    | 11 +----------
 3 files changed, 18 insertions(+), 34 deletions(-)
  

Revisions