KVM: x86: Add MSR_AMD64_DC_CFG to the list of ignored MSRs

commit 405a353a0e upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Ladi Prosek 2017-04-06 15:22:20 +02:00 • committed by Ben Hutchings
commit f082d564d9