]> 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)
commitf9498ca04c4ddfbb9788eab1298a2140a15343da
treecb2a474621aca7b8294a299082a8f1a49930f085
parent4a94072b380e2706a55e6bdaceb07b7f191ce506
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