KVM: x86: Turbo bits in MSR_PLATFORM_INFO
authorDrew Schmitt <[email protected]>
Mon, 20 Aug 2018 17:32:14 +0000 (10:32 -0700)
committerPaolo Bonzini <[email protected]>
Wed, 19 Sep 2018 22:51:46 +0000 (00:51 +0200)
commitd84f1cff9028c00ee870f0293b0c7a3866071dfa
tree826de97fdedadafccc68102de820da2233801c15
parentba8e23db59dc07e5de74fd7bd310e297d3e4ba54
KVM: x86: Turbo bits in MSR_PLATFORM_INFO

Allow userspace to set turbo bits in MSR_PLATFORM_INFO. Previously, only
the CPUID faulting bit was settable. But now any bit in
MSR_PLATFORM_INFO would be settable. This can be used, for example, to
convey frequency information about the platform on which the guest is
running.

Signed-off-by: Drew Schmitt <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/kvm/x86.c