]> Git Repo - linux.git/commit
kvm: Force IOMMU remapping on memory slot read-only flag changes
authorAlex Williamson <[email protected]>
Thu, 24 Jan 2013 22:04:03 +0000 (15:04 -0700)
committerGleb Natapov <[email protected]>
Sun, 27 Jan 2013 10:41:30 +0000 (12:41 +0200)
commit261874b0d5ebe2a5ccc544df7170d6559635e79a
treed04346a75dbc7146769da4519354f3bd3303d5c0
parent3f0c3d0bb2bcc4b88b22452a7cf0073ee9a0f1e6
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 <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Signed-off-by: Gleb Natapov <[email protected]>
virt/kvm/kvm_main.c
This page took 0.07106 seconds and 4 git commands to generate.