WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: PCI Passthrough to VMX Guest

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: [Xen-users] Re: PCI Passthrough to VMX Guest
From: "David Goodlad" <dgoodlad@xxxxxxxxx>
Date: Tue, 21 Mar 2006 09:01:51 -0800
Cc: mark.williamson@xxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Mar 2006 17:03:21 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EuKMFpyjutCupHx0a8mJDKUFQArARrkWD9aKywpxpRKh2li+x/OGLnBx9yBR7FS12FPisL3QbyAmYGKNIir8H08gSqBj3xYOIFG79gmYbZ1mwMGgVDCx/t7XyXQRVsglgWYiqU7MrVe8G/C7Vdf6VTPT5rBAFrMmJy9orCt/Szw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0BA7FB5E@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <907625E08839C4409CE5768403633E0BA7FB5E@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 3/21/06, Petersson, Mats <Mats.Petersson@xxxxxxx> wrote:
>
>
> > -----Original Message-----
> > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> > M.A. Williamson
> > Sent: 21 March 2006 15:46
> > To: David Goodlad
> > Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: [Xen-users] PCI Passthrough to VMX Guest
> >
> > Sorry, PCI passthrough to VMX guests isn't supported - the
> > guest has to be paravirt and be running the PCI frontend driver.
> >
> > The VMX spec does include some helpful features for passing
> > PCI devices through to a guest, and I'm sure it's possible to
> > make it work - in principle. I don't know of anyone actually
> > planning to hack on it though :-(
>
> One of the problems with this is that the OS/Driver that supports the
> nVidia (or other graphics adapter) will need to actually know it's
> physical addresses in memory - something that it doesn't, because the
> HVM solution may well tell the OS that it's got 512MB of memory from 0
> to 512M, but it's ACTUALLY living at 512M to 1G. So when the graphics
> driver says "You have a bitmap at 128MB", it should actually say "You
> have a bitmap at 640MB". Until there's an IOMMU implementation, there's
> nothing we can do about this.
>
> So even if you COULD assign your PCI device to the DomU, it still
> wouldn't do the right thing... :-(
>
> So until then, there's a bit of a problem implementing any complex
> hardware support in a virtual machine. There may be ways to solve this,
> but they are non-trivial (and most like specific to the particular
> hardware...).
>
> --
> Mats
>
>

Ahh, that clears things up.  I never thought of the memory addressing
issue!  I assume that this issue is handled in paravirtualized
machines by the PCI frontend driver?

Dave


--
Dave Goodlad
dgoodlad@xxxxxxxxx or dave@xxxxxxxxxx
http://david.goodlad.ca/

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users