From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: Re: PCI passthrough support via PV-PCI Date: Wed, 2 Jul 2008 15:28:55 +0100 Message-ID: <20080702142855.GM4714@implementation.uk.xensource.com> References: <20080702125810.GG4714@implementation.uk.xensource.com> <20080702132941.GI4714@implementation.uk.xensource.com> <18539.36392.704150.333337@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <18539.36392.704150.333337@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 Cc: xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org Espen Skoglund, le Wed 02 Jul 2008 15:18:16 +0100, a =E9crit : > [Samuel Thibault] > > Keir Fraser, le Wed 02 Jul 2008 13:59:42 +0100, a =E9crit : > >> Shouldn't they happen from xend or pciback? >=20 > > For PV guests it looks like something is done indeed, because else > > it wouldn't work. It is probably a matter of having domctl permit > > the stub domain to transfer these rights to the HVM guest. >=20 > When I added VT-d support for PV guests I made xend do the device > assignment iff the destination was a PV domain. Is there any reason > why device assignment can not be performed by xend for HVM guests as > well? >=20 > Other resource assignment (IOMEM and IRQs) still seems to happen in > xend for HVM guests as well as for PV guest. What other domctls does > ioemu need to perform? ioemu needs to update the mappings, see the pt_iomem_map() function. Samuel