KVM: x86: Add MSR_AMD64_DC_CFG to the list of ignored MSRs
authorLadi Prosek <lprosek@redhat.com>
Thu, 6 Apr 2017 13:22:20 +0000 (15:22 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 12 Apr 2017 19:09:24 +0000 (21:09 +0200)
commit405a353a0e20d09090ad96147da6afad9b0ce056
tree9eeb49f6102545d202c290c9364861bc140833e9
parent5a48a622718cbd2d26d449f38ba40a2b5f7212cf
KVM: x86: Add MSR_AMD64_DC_CFG to the list of ignored MSRs

Hyper-V writes 0x800000000000 to MSR_AMD64_DC_CFG when running on AMD CPUs
as recommended in erratum 383, analogous to our svm_init_erratum_383.

By ignoring the MSR, this patch enables running Hyper-V in L1 on AMD.

Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/x86.c