From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfaOA-0006LB-Gn for qemu-devel@nongnu.org; Thu, 23 May 2013 14:37:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfaO4-0000pD-JE for qemu-devel@nongnu.org; Thu, 23 May 2013 14:37:22 -0400 Received: from mail-la0-x229.google.com ([2a00:1450:4010:c03::229]:60943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfaO4-0000oq-BP for qemu-devel@nongnu.org; Thu, 23 May 2013 14:37:16 -0400 Received: by mail-la0-f41.google.com with SMTP id ee20so3617017lab.14 for ; Thu, 23 May 2013 11:37:15 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1369133851-1894-28-git-send-email-pbonzini@redhat.com> References: <1369133851-1894-1-git-send-email-pbonzini@redhat.com> <1369133851-1894-28-git-send-email-pbonzini@redhat.com> From: Peter Maydell Date: Thu, 23 May 2013 19:36:54 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 27/30] pci: use memory core for iommu support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: jan.kiszka@gmail.com, "Michael S. Tsirkin" , qemu-devel@nongnu.org, Avi Kivity , David Gibson On 21 May 2013 11:57, Paolo Bonzini wrote: > From: Avi Kivity > > Use the new iommu support in the memory core for iommu support. The only > user, spapr, is also converted, but it still provides a DMAContext > interface until the non-PCI bits switch to AddressSpace. > > Cc: Michael S. Tsirkin > Signed-off-by: Avi Kivity > [ Do not calls memory_region_del_subregion() on the device's > bus_master_enable_region, it is an alias; return an AddressSpace > from the IOMMU hook and remove the destructor hook. - David Gibson ] > Signed-off-by: David Gibson > Signed-off-by: Paolo Bonzini More >80column excesses. Otherwise Reviewed-by: Peter Maydell -- PMM