From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axrVl-00032Y-KX for qemu-devel@nongnu.org; Wed, 04 May 2016 03:46:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axrVQ-00038A-Sk for qemu-devel@nongnu.org; Wed, 04 May 2016 03:46:16 -0400 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]:35639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axrVP-00033r-IA for qemu-devel@nongnu.org; Wed, 04 May 2016 03:46:00 -0400 Received: by mail-lf0-x231.google.com with SMTP id j8so49555276lfd.2 for ; Wed, 04 May 2016 00:45:45 -0700 (PDT) References: <1461535977-331-1-git-send-email-davidkiarie4@gmail.com> <1461535977-331-3-git-send-email-davidkiarie4@gmail.com> <5722FA9E.4090607@web.de> From: Valentine Sinitsyn Message-ID: <5729A8A3.90501@gmail.com> Date: Wed, 4 May 2016 12:45:39 +0500 MIME-Version: 1.0 In-Reply-To: <5722FA9E.4090607@web.de> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [V9 2/4] hw/i386: ACPI table for AMD IOMMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka , David Kiarie , qemu-devel@nongnu.org Cc: mst@redhat.com, marcel@redhat.com, imammedo@redhat.com On 29.04.2016 11:09, Jan Kiszka wrote: > On 2016-04-25 00:12, David Kiarie wrote: >> Add IVRS table for AMD IOMMU. Generate IVRS or DMAR >> depending on emulated IOMMU > > It seems you lack scope descriptions for the PCI devices in the system. > At least, this is what our jailhouse config generator complains about > right now (didn't look into details yet). If so, the guest OS will > likely not configure the IOMMU appropriately as it thinks that the > devices are passed through anyway. > > On Intel, there is an easy way to state "catch them all" in the ACPI > table. Maybe AMD has this as well so that you don't need to add > individual devices. There is. IVHD Device Entry Type 1 does just that. Valentine