diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2013-01-24 23:04:03 +0100 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-01-27 11:41:30 +0100 |
commit | 261874b0d5ebe2a5ccc544df7170d6559635e79a (patch) | |
tree | d04346a75dbc7146769da4519354f3bd3303d5c0 /virt/kvm/iommu.c | |
parent | KVM: x86 emulator: fix test_cc() build failure on i386 (diff) | |
download | linux-261874b0d5ebe2a5ccc544df7170d6559635e79a.tar.xz linux-261874b0d5ebe2a5ccc544df7170d6559635e79a.zip |
kvm: Force IOMMU remapping on memory slot read-only flag changes
Memory slot flags can be altered without changing other parameters of
the slot. The read-only attribute is the only one the IOMMU cares
about, so generate an un-map, re-map when this occurs. This also
avoid unnecessarily re-mapping the slot when no IOMMU visible changes
are made.
Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'virt/kvm/iommu.c')
0 files changed, 0 insertions, 0 deletions