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)
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>

No differences found