mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-30 16:35:31 +00:00
5432cbfaad
Initialize MTRR defType register the same way the KVM code does - WB caching by default. Tested with latest mshv code. Without this patch, these lines are present in guest serial log: [ 0.000032] x86/PAT: MTRRs disabled, skipping PAT initialization too. [ 0.000036] CPU MTRRs all blank - virtualized system. This indicates the guest is detecting the set MTRR. Signed-off-by: Nuno Das Neves <nudasnev@microsoft.com> Signed-off-by: Muminul Islam <muislam@microsoft.com>