]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: Obey read-only mappings in iommu
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 24 Jan 2013 22:04:09 +0000 (15:04 -0700)
committerGleb Natapov <gleb@redhat.com>
Sun, 27 Jan 2013 10:41:41 +0000 (12:41 +0200)
commit6b25d9cdb00d21424ff265512089245bc7f2f186
tree77b842f1e1f04ac4650fc54e6a267747b30d2bd8
parent94f77d07b6e4e8faff04092984bea2022294cc8c
kvm: Obey read-only mappings in iommu

We've been ignoring read-only mappings and programming everything
into the iommu as read-write.  Fix this to only include the write
access flag when read-only is not set.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
virt/kvm/iommu.c