]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: svm: add support for RDTSCP
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Nov 2015 13:49:16 +0000 (14:49 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 Nov 2015 16:24:22 +0000 (17:24 +0100)
commitd931a9823f2400ef19134f0e0ae90e6b24f665ab
treecb2a474621aca7b8294a299082a8f1a49930f085
parent963ff7e4ac41eec5960302e2df40939dc0444ea5
KVM: svm: add support for RDTSCP

RDTSCP was never supported for AMD CPUs, which nobody noticed because
Linux does not use it.  But exactly the fact that Linux does not
use it makes the implementation very simple; we can freely trash
MSR_TSC_AUX while running the guest.

Cc: Joerg Roedel <joro@8bytes.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c