HomeFreeBSD

Always emulate MSR_PAT on Intel processors and don't rely on PAT save/restore

Description

Always emulate MSR_PAT on Intel processors and don't rely on PAT save/restore
capability of VT-x. This lets bhyve run nested in older VMware versions that
don't support the PAT save/restore capability.

Note that the actual value programmed by the guest in MSR_PAT is irrelevant
because bhyve sets the 'Ignore PAT' bit in the nested PTE.

Reported by: marcel
Tested by: Leon Dang (ldang@nahannisys.com)
Sponsored by: Nahanni Systems
MFC after: 2 weeks

Details

Provenance
neelAuthored on
Parents
rS279227: Emulate MSR 0xC0011024 when running on AMD processors.
Branches
Unknown
Tags
Unknown

Event Timeline