CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/01/20 18:40:35
Modified files:
sys/arch/amd64/amd64: vmm.c
sys/arch/amd64/include: specialreg.h
Log message:
vmm: better handling of two SMM related MSRs
We currently ignore MSR_SMBASE and MSR_SMM_MONITOR_CTL, but the SDM says
accessing the former for read and latter for write while not in SMM mode
should produce a #GP. This change detects those operations and injects
a #GP as the documentation says. The previous behaviour was harmless, just
not correct.
ok pd