From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dushyant Behl Subject: Re: GPU Passthrough without VT-d Date: Wed, 12 Mar 2014 02:38:12 +0530 Message-ID: References: <53197363.2030501@linux.intel.com> <20140307192232.GY3200@reaktio.net> <20140308050155.GA3200@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1348242113932568615==" Return-path: In-Reply-To: <20140308050155.GA3200@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============1348242113932568615== Content-Type: multipart/alternative; boundary=001a11c362e67511ac04f45b1f07 --001a11c362e67511ac04f45b1f07 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry I was outside so couldn't reply. I found the patch earlier but as this would be my first project so i was a little conscious about the corner case bugs. I was also planning to buy some new hardware so i though i could give it a go then, Nevertheless i'll try to use the patch in the meantime. Thanks, Dushyant On Sat, Mar 8, 2014 at 10:31 AM, Pasi K=E4rkk=E4inen wrote: > On Fri, Mar 07, 2014 at 09:22:32PM +0200, Pasi K=E4rkk=E4inen wrote: > > On Fri, Mar 07, 2014 at 11:06:34PM +0530, Dushyant Behl wrote: > > > Thanks for the quick reply. I'll try to look into it. > > > > > > > There's an old patch to do that in the Xen wiki.. > > > > See here: > > http://old-list-archives.xenproject.org/archives/html/xen-devel/2009-09/m= sg00018.html > > -- Pasi > > > > > > - > > > Dushyant > > > > > > On Fri, Mar 7, 2014 at 12:51 PM, Kai Huang > > > <[1]kai.k.huang@linux.intel.com> wrote: > > > > > > In general you cannot do pci passthrough for HVM without IOMMU > (vt-d) > > > support, as we need VT-d to support guest physical address to > machine > > > address translation for DMA. > > > > > > However, theoretically, you can do it by hacking Xen to setup > identical > > > (1:1) mappings for guest's memory, but it's not a pretty way and > you > > > should expect to suffer lots of tricky corner case bugs. > > > > > > Thanks, > > > -Kai > > > > > > On 03/07/2014 11:03 AM, Dushyant Behl wrote: > > > > > > Hi all, > > > > > > I am new to the xen community and I wanted to work on the > project > > > "Allowing guests to boot with a passed-through GPU as the > primary > > > display" but the processor in my system does not supports IO M= MU > > > Virtualization (Intel VT-d), it only supports the Intel > Virtualization > > > (Intel VT-x). Would it be possible for me to work on the > project in > > > anyway? > > > > > > Thanks, > > > Dushyant > > > > > > _______________________________________________ > > > Xen-devel mailing list > > > [2]Xen-devel@lists.xen.org > > > [3]http://lists.xen.org/xen-devel > > > > > > References > > > > > > Visible links > > > 1. mailto:kai.k.huang@linux.intel.com > > > 2. mailto:Xen-devel@lists.xen.org > > > 3. http://lists.xen.org/xen-devel > > > > > _______________________________________________ > > > Xen-devel mailing list > > > Xen-devel@lists.xen.org > > > http://lists.xen.org/xen-devel > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xen.org > > http://lists.xen.org/xen-devel > --001a11c362e67511ac04f45b1f07 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Sorry I was outside so couldn't reply. I found th= e patch earlier but as this would be my first project so i was a little con= scious about the corner case bugs.
I was also planning to buy= some new hardware so i though i could give it a go then, Nevertheless i= 9;ll try to use the patch in the meantime.

Thanks,
Dushyant




On Sat, Mar 8, 2014 at 10:31 AM, Pasi K=E4rkk=E4inen <pasik@ik= i.fi> wrote:
On Fri, Mar 07, 2014 at 09:2= 2:32PM +0200, Pasi K=E4rkk=E4inen wrote:
> On Fri, Mar 07, 2014 at 11:06:34PM +0530, Dushyant Behl wrote:
> > =A0 =A0Thanks for the quick reply. I'll try to look into it.<= br> > >
>
> There's an old patch to do that in the Xen wiki..
>

See here:
http://old-list-archives.xenprojec= t.org/archives/html/xen-devel/2009-09/msg00018.html

-- Pasi

>
> > =A0 =A0-
> > =A0 =A0Dushyant
> >
> > =A0 =A0On Fri, Mar 7, 2014 at 12:51 PM, Kai Huang
> > =A0 =A0<[1]kai.= k.huang@linux.intel.com> wrote:
> >
> > =A0 =A0 =A0In general you cannot do pci passthrough for HVM witho= ut IOMMU (vt-d)
> > =A0 =A0 =A0support, as we need VT-d to support guest physical add= ress to machine
> > =A0 =A0 =A0address translation for DMA.
> >
> > =A0 =A0 =A0However, theoretically, you can do it by hacking Xen t= o setup identical
> > =A0 =A0 =A0(1:1) mappings for guest's memory, but it's no= t a pretty way and you
> > =A0 =A0 =A0should expect to suffer lots of tricky corner case bug= s.
> >
> > =A0 =A0 =A0Thanks,
> > =A0 =A0 =A0-Kai
> >
> > =A0 =A0 =A0On 03/07/2014 11:03 AM, Dushyant Behl wrote:
> >
> > =A0 =A0 =A0 =A0Hi all,
> >
> > =A0 =A0 =A0 =A0I am new to the xen community and I wanted to work= on the project
> > =A0 =A0 =A0 =A0"Allowing guests to boot with a passed-throug= h GPU as the primary
> > =A0 =A0 =A0 =A0display" but the processor in my system does = not supports IO MMU
> > =A0 =A0 =A0 =A0Virtualization (Intel VT-d), it only supports the = Intel Virtualization
> > =A0 =A0 =A0 =A0(Intel VT-x). Would it be possible for me to work = on the project in
> > =A0 =A0 =A0 =A0anyway?
> >
> > =A0 =A0 =A0 =A0Thanks,
> > =A0 =A0 =A0 =A0Dushyant
> >
> > =A0 =A0 =A0 =A0_______________________________________________ > > =A0 =A0 =A0 =A0Xen-devel mailing list
> > =A0 =A0 =A0 =A0[2]Xen-= devel@lists.xen.org
> > =A0 =A0 =A0 =A0[3]http://lists.xen.org/xen-devel
> >
> > References
> >
> > =A0 =A0Visible links
> > =A0 =A01. mailto:k= ai.k.huang@linux.intel.com
> > =A0 =A02. mailto:Xen-d= evel@lists.xen.org
> > =A0 =A03. http://lists.xen.org/xen-devel
>
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xen.or= g
> > http= ://lists.xen.org/xen-devel
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org=
> http://li= sts.xen.org/xen-devel

--001a11c362e67511ac04f45b1f07-- --===============1348242113932568615== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1348242113932568615==--