diff options
author | Sheng Yang <sheng@linux.intel.com> | 2008-11-06 14:55:45 +0800 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-11-11 21:00:37 +0200 |
commit | 928d4bf747e9c290b690ff515d8f81e8ee226d97 (patch) | |
tree | 3df5209cb7f85fddd8374dab314d31843d59e8fd /mm/vmscan.c | |
parent | ca93e992fdfdc6569ac2845d7560eeb5de4a4e0b (diff) |
KVM: VMX: Set IGMT bit in EPT entry
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: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions