From: Daniel Stodden Subject: RE: Can I expose a pci device to HVM domU? Date: Tue, 19 Feb 2008 22:35:47 +0100 Message-ID: <1203456947.5870.2.camel@thinkpad.localdomain> References: <6bc632150802191238v19371a70ha60ee5950c027c06@mail.gmail.com> <78C9135A3D2ECE4B8162EBDCE82CAD77030E2B83@nekter> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <78C9135A3D2ECE4B8162EBDCE82CAD77030E2B83@nekter> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Caitlin Bestler Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, 2008-02-19 at 15:44 -0500, Caitlin Bestler wrote: >=20 > > -----Original Message----- > > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- > > bounces@lists.xensource.com] On Behalf Of pradeep singh rautela > > Sent: Tuesday, February 19, 2008 12:39 PM > > To: xen-users@lists.xensource.com > > Cc: xen-devel > > Subject: [Xen-devel] Can I expose a pci device to HVM domU? > >=20 > > Can i assign a PCI device(e.g a NIC) exclusively to a Linux HVM > > domainU after hiding it from domain 0? > >=20 > > I know that only PV guests are the best candidates for this but I > > still want to ask, hoping someone might have done some work in latest > > xen-unstable. > >=20 > > Is there any known way to do this? > >=20 > > PS:- NIC Is does not have Intel's VT-d. > >=20 >=20 > If the Guest is HVM, how would it know how to give usable > DMA addresses to the NIC? (Whether it should be trusted to > in the absence of an Address Translation Service is the next > question, but first is whether it could even do it at all). >=20 > A PV Guest, by contrast, would know the distinction between > GPAs and SPAs (not that it makes it any more trustworthy). VT-d / IO-MMUs fixes that. regards, daniel --=20 Daniel Stodden LRR - Lehrstuhl f=C3=BCr Rechnertechnik und Rechnerorganisation Institut f=C3=BCr Informatik der TU M=C3=BCnchen D-85748 Garc= hing http://www.lrr.in.tum.de/~stodden mailto:stodden@cs.tum.edu PGP Fingerprint: F5A4 1575 4C56 E26A 0B33 3D80 457E 82AE B0D8 735B