From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VihNf-0007K5-IK for qemu-devel@nongnu.org; Tue, 19 Nov 2013 04:14:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VihNa-0005wX-6X for qemu-devel@nongnu.org; Tue, 19 Nov 2013 04:13:59 -0500 Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]:59959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VihNa-0005wT-2X for qemu-devel@nongnu.org; Tue, 19 Nov 2013 04:13:54 -0500 Received: by mail-qc0-f173.google.com with SMTP id m4so4695527qcy.32 for ; Tue, 19 Nov 2013 01:13:53 -0800 (PST) Sender: Paolo Bonzini Message-ID: <528B2BCD.10201@redhat.com> Date: Tue, 19 Nov 2013 10:13:49 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Are there any IOMMU emulation in QEMU for x86 platform List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Jiang, Yunhong" Cc: "eduard.munteanu@linux360.ro" , "qemu-devel@nongnu.org" , "david@gibson.dropbear.id.au" Il 19/11/2013 07:34, Jiang, Yunhong ha scritto: > Hi, all > I noticed there are several patchset has been sent out about IOMMU emulation like > http://lists.gnu.org/archive/html/qemu-devel/2011-10/msg03764.html, > http://lists.gnu.org/archive/html/qemu-devel/2011-01/msg03196.html . > Also I noticed that PPC platform has IOMMU emulation support in QEMU > already. Are there any plan to support IOMMU emulation in QEMU for x86 now? Not that I know of. Of course, patches are welcome. > And also, does it requires the real host platform have the IOMMU to support the QEMU IOMMU emulation? Or it will be a purely software emulation? For emulated devices it could be purely software. Nested device assignment would require a host IOMMU, and would require the host IOMMU driver to do some kind of shadow-paging. Paolo