• Sheng Yang's avatar
    KVM: VMX: Set IGMT bit in EPT entry · 928d4bf7
    Sheng Yang authored
    There is a potential issue that, when guest using pagetable without vmexit when
    EPT enabled, guest would use PAT/PCD/PWT bits to index PAT msr for it's memory,
    which would be inconsistent with host side and would cause host MCE due to
    inconsistent cache attribute.
    
    The patch set IGMT bit in EPT entry to ignore guest PAT and use WB as default
    memory type to protect host (notice that all memory mapped by KVM should be WB).
    Signed-off-by: default avatarSheng Yang <sheng@linux.intel.com>
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    928d4bf7
vmx.h 14.7 KB