From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36999 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OpuXB-0001AN-MM for qemu-devel@nongnu.org; Sun, 29 Aug 2010 22:55:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OpuXA-0000b1-N2 for qemu-devel@nongnu.org; Sun, 29 Aug 2010 22:55:45 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:47520) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpuXA-0000at-DI for qemu-devel@nongnu.org; Sun, 29 Aug 2010 22:55:44 -0400 Date: Mon, 30 Aug 2010 12:07:30 +0900 From: Isaku Yamahata Subject: Re: [Qemu-devel] [PATCH 3/7] AMD IOMMU emulation Message-ID: <20100830030730.GD22847@valinux.co.jp> References: <1283007298-10942-1-git-send-email-eduard.munteanu@linux360.ro> <1283007298-10942-4-git-send-email-eduard.munteanu@linux360.ro> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1283007298-10942-4-git-send-email-eduard.munteanu@linux360.ro> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduard - Gabriel Munteanu Cc: kvm@vger.kernel.org, mst@redhat.com, joro@8bytes.org, qemu-devel@nongnu.org, blauwirbel@gmail.com, paul@codesourcery.com, avi@redhat.com On Sat, Aug 28, 2010 at 05:54:54PM +0300, Eduard - Gabriel Munteanu wrote: > diff --git a/hw/pc.c b/hw/pc.c > index a96187f..e2456b0 100644 > --- a/hw/pc.c > +++ b/hw/pc.c > @@ -1068,6 +1068,8 @@ void pc_pci_device_init(PCIBus *pci_bus) > int max_bus; > int bus; > > + pci_create_simple(pci_bus, -1, "amd-iommu"); > + > max_bus = drive_get_max_bus(IF_SCSI); > for (bus = 0; bus <= max_bus; bus++) { > pci_create_simple(pci_bus, -1, "lsi53c895a"); This always instantiate iommu. How to coexist with other iommu(Intel VT-d) emulation? -- yamahata