KVM: x86: move MSR_IA32_POWER_CTL handling to common code
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 6 Jun 2019 12:32:59 +0000 (14:32 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Jun 2019 09:43:48 +0000 (11:43 +0200)
commit73f624f47c495d7129abef4b7031ed371cc7abb6
treed8dc540a7c5cabf21eae8a2134ae9bbf9a8cd583
parent4cb8b1163586addc9e1f4eebe232a11534c24d4a
KVM: x86: move MSR_IA32_POWER_CTL handling to common code

Make it available to AMD hosts as well, just in case someone is trying
to use an Intel processor's CPUID setup.

Suggested-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/vmx.h
arch/x86/kvm/x86.c