From: Alex Williamson Subject: [PATCH 0/2] kvm: IOMMU read-only mapping support Date: Thu, 24 Jan 2013 15:03:57 -0700 Message-ID: <20130124220027.11061.76400.stgit@bling.home> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: yoshikawa_takuya_b1@lab.ntt.co.jp, linux-kernel@vger.kernel.org, xiaoguangrong@linux.vnet.ibm.com To: gleb@redhat.com, kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:24537 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755284Ab3AXWEB (ORCPT ); Thu, 24 Jan 2013 17:04:01 -0500 Sender: kvm-owner@vger.kernel.org List-ID: A couple patches to make KVM IOMMU support honor read-only mappings. This causes an un-map, re-map when the read-only flag changes and makes use of it when setting IOMMU attributes. Thanks, Alex --- Alex Williamson (2): kvm: Force IOMMU remapping on memory slot read-only flag changes kvm: Obey read-only mappings in iommu virt/kvm/iommu.c | 4 +++- virt/kvm/kvm_main.c | 28 ++++++++++++++++++++++++---- 2 files changed, 27 insertions(+), 5 deletions(-)