KVM: MMU: Map device MMIO as UC in EPT
authorSheng Yang <sheng@linux.intel.com>
Wed, 21 Jan 2009 08:52:16 +0000 (16:52 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 15 Feb 2009 00:47:37 +0000 (02:47 +0200)
commit2aaf69dcee864f4fb6402638dd2f263324ac839f
tree52df0acd746ee31592d0c2e7463ba7a091ab7a55
parentabe6655dd699069b53bcccbc65b2717f60203b12
KVM: MMU: Map device MMIO as UC in EPT

Software are not allow to access device MMIO using cacheable memory type, the
patch limit MMIO region with UC and WC(guest can select WC using PAT and
PCD/PWT).

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/vmx.c