• S
    KVM: VMX: Set IGMT bit in EPT entry · 928d4bf7
    Sheng Yang 提交于
    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: NSheng Yang <sheng@linux.intel.com>
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    928d4bf7
vmx.h 14.7 KB