KVM: x86: expose MSR_TSC_AUX to userspace
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Nov 2015 13:49:17 +0000 (14:49 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 13 Feb 2016 10:34:04 +0000 (10:34 +0000)
commitbc48f6f5a8c6d628a1af649306eaf906493bb986
tree135628ac9c6a1e278ca36392344950937a4b1342
parent558c1f07308ed4bf6c74aa6432cce9f90cc0e221
KVM: x86: expose MSR_TSC_AUX to userspace

commit 9dbe6cf941a6fe82933aef565e4095fb10f65023 upstream.

If we do not do this, it is not properly saved and restored across
migration.  Windows notices due to its self-protection mechanisms,
and is very upset about it (blue screen of death).

Cc: Radim Krcmar <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[bwh: Backported to 3.2:
 - We didn't yet have the switch() in kvm_init_msr_list as MPX is not
   supported at all
 - Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/x86/kvm/x86.c