From: Alex Williamson Date: Thu, 24 Jan 2013 22:04:03 +0000 (-0700) Subject: kvm: Force IOMMU remapping on memory slot read-only flag changes X-Git-Tag: v3.9-rc1~97^2~7^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=261874b0d5ebe2a5ccc544df7170d6559635e79a;p=pandora-kernel.git 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 Signed-off-by: Alex Williamson Signed-off-by: Gleb Natapov --- Reading git-diff-tree failed