From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] VT-d: fix PCI device detach from virtual machine Date: Tue, 15 Jun 2010 16:10:24 +0200 Message-ID: <20100615141023.GA15264@amd.com> References: <715D42877B251141A38726ABF5CABF2C0195A7B959@pdsmsx503.ccr.corp.intel.com> <1276557557.2063.43.camel@macbook.infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: "Han, Weidong" , "'iommu@lists.linux-foundation.org'" , "'Avi Kivity'" , "'kvm'" To: David Woodhouse Return-path: Received: from outbound-va3.frontbridge.com ([216.32.180.16]:1083 "EHLO VA3EHSOBE008.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757687Ab0FOON4 (ORCPT ); Tue, 15 Jun 2010 10:13:56 -0400 Content-Disposition: inline In-Reply-To: <1276557557.2063.43.camel@macbook.infradead.org> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Jun 14, 2010 at 07:19:17PM -0400, David Woodhouse wrote: > Why not just jump straight to the 'DMA proxy' device, and use that > _only_? Not sure about Intel chipsets, but on AMD chipset a legacy device can be seen by the IOMMU with both device-ids, its own and the bridge device. So the domain needs to be configured for both device-ids in the iommu driver. Joerg