KVM: SVM: fix trashing of MSR_TSC_AUX
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Jul 2016 12:57:24 +0000 (14:57 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Jul 2016 17:11:10 +0000 (19:11 +0200)
commit9770404a0061ec46dec6e15c4b07731ce2e2d7bb
treef055df1f6dca4abdc063c34870c0e106019a33b6
parent30b072ce0356e8b141f4ca6da7220486fa3641d9
KVM: SVM: fix trashing of MSR_TSC_AUX

I don't know what I was thinking when I wrote commit 46896c73c1a4 ("KVM:
svm: add support for RDTSCP", 2015-11-12); I missed write_rdtscp_aux which
obviously uses MSR_TSC_AUX.

Therefore we do need to save/restore MSR_TSC_AUX in svm_vcpu_run.

Cc: stable@vger.kernel.org
Cc: Borislav Petkov <bp@alien8.de>
Fixes: 46896c73c1a4 ("KVM: svm: add support for RDTSCP")
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c