]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/svm.c
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)
commit46896c73c1a4dde527c3a3cc43379deeb41985a1
treecb2a474621aca7b8294a299082a8f1a49930f085
parent9dbe6cf941a6fe82933aef565e4095fb10f65023
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