From: Keir Fraser Subject: Re: [PATCH 0/5] VT-d support for PV guests Date: Tue, 20 May 2008 08:39:48 +0100 Message-ID: References: <18481.58026.284129.700801@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <18481.58026.284129.700801@gargle.gargle.HOWL> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Espen Skoglund , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 19/5/08 21:27, "Espen Skoglund" wrote: > I've added some preliminary support for VT-d for paravirtualized > guests. This must be enabled using an 'iommu_pv' boot parameter > (disabled by default). > > I've added some python bindigs to allow xend to assign PCI devices to > IOMMU for PV guests. For HVM guests this is handled in ioemu. Not > sure if it makes sense to handle both cases in one place. > > The changes currently hook into get_page_type() in xen/arch/x86/mm.c > to map/unmap IOMMU pages when the page types change. This might > not be the apropriate place to hook these calls. What functionality does this patchset enable, Espen? Is this a security enhancement (isolation/containment) for PV guests with direct hardware access? For example: can access all its own memory except that which has pagetable/GDT type, and only foreign memory which is granted to it? Is there a good reason to hide this behind a boot option? Thanks, Keir