diff options
author | Sheng Yang <sheng@linux.intel.com> | 2009-04-27 14:35:43 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 10:48:50 +0200 |
commit | 522c68c4416de3cd3e11a9ff10d58e776a69ae1e (patch) | |
tree | 62940e35988f5e2a52df10276882ec64518ee369 /security | |
parent | KVM: Replace get_mt_mask_shift with get_mt_mask (diff) | |
download | linux-522c68c4416de3cd3e11a9ff10d58e776a69ae1e.tar.xz linux-522c68c4416de3cd3e11a9ff10d58e776a69ae1e.zip |
KVM: Enable snooping control for supported hardware
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions