commit 3905720f4b42877bb5149e5fcdf7359a3572c92f Author: Matthew Dillon <dil...@apollo.backplane.com> Date: Mon Aug 9 10:45:53 2021 -0700
kernel - Workaround qemu bug w/ MSR_IA32_ARCH_CAPABILITIES * qemu allows cpuid report that MSR_IA32_ARCH_CAPABILITIES exists, but then fails to implement the MSR. This causes the kernel to panic in early boot. * Use rdmsr_safe() and report the non-working msr instead of panicing. * Fixes qemu + DFly on some recent Intel cpus. refs #3292 Summary of changes: sys/platform/pc64/x86_64/identcpu.c | 24 ++++++++++++++++++------ sys/platform/pc64/x86_64/vm_machdep.c | 11 ++++++++++- 2 files changed, 28 insertions(+), 7 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3905720f4b42877bb5149e5fcdf7359a3572c92f -- DragonFly BSD source repository