KVM: Enable snooping control for supported hardware
authorSheng Yang <sheng@linux.intel.com>
Mon, 27 Apr 2009 12:35:43 +0000 (20:35 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:50 +0000 (11:48 +0300)
Memory aliases with different memory type is a problem for guest. For the guest
without assigned device, the memory type of guest memory would always been the
same as host(WB); but for the assigned device, some part of memory may be used
as DMA and then set to uncacheable memory type(UC/WC), which would be a conflict of
host memory type then be a potential issue.

Snooping control can guarantee the cache correctness of memory go through the
DMA engine of VT-d.

[avi: fix build on ia64]

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found