From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anish Patel Subject: Re: Nvidia 9500GT Xen VGA passthru Date: Tue, 01 Feb 2011 14:26:33 -0500 Message-ID: <4D485E69.3040707@gmail.com> References: <7EEC9DAC2502EF4FACFE8CC8408DAFEA1DEDC7@sbs-1.abito.local> <20110129190330.GP2754@reaktio.net> <20110131115021.GB2754@reaktio.net> <4D46E5D7.6080409@gmail.com> <20110131192615.GC2754@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20110131192615.GC2754@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xensource.com, Peter van der Maas , xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi All, I have managed to get the 2nd vga passed though. I had to use=20 AMD/ATI card to get this done. Thanks Anish On 01/31/11 14:26, Pasi K=E4rkk=E4inen wrote: > On Mon, Jan 31, 2011 at 11:39:51AM -0500, Anish Patel wrote: >> I have this almost working now, I think the only thing that i need t= o >> change is to add a gfx_passthru=3D2 option to let xen know not to read >> from /dev/mem then an option to tell it what VGA rom to use. Are the= re >> any patches for 4.01 for this? >> > I think gfx_passthru can only use 0 or 1 nowadays. > > Patches probably need to be forward-ported to current Xen.. > most of them are for xen-unstable from the Xen 3.5 days.. > > -- Pasi > >> Thanks >> Anish >> On 01/31/11 06:50, Pasi K=E4rkk=E4inen wrote: >>> On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote: >>>> I really have not played with too much after the proof of concept. = I do recall something eventually breaking the config, perhaps a Xen updat= e. I've since put the hardware to better use, although I am still intrig= ued by Xen. At the time, I was working with a team that was giving serio= us consideration to virtualizing their platform, and what better way to l= earn than dig in and get my hands dirty. >>>> >>>> I tried to include as much detail at the time, with the plethora of = different Xen builds, BIOS's updates, etc. >>>> >>>> If someone has something specific I can try to help, but doubtful I = will be of any use. For example, I did not realize Xen 4.x was even rele= ased. Recent projects I've been working on do not lend themselves well t= o virtualization; however, I might have to give Xen 4.0 shot - just to pl= ay, of course. There were some serious changes happening with Xen, the L= inux kernel, and KVM when I stopped playing. >>>> >>> Ok. >>> >>> I mainly meant if you remember what custom patches did you have to us= e/create? >>> Most probably you had to do some vBar=3DpBar hacking, right? >>> >>> I guess I'll have to try this myself one day and document the process >>> with current Xen versions.. >>> >>> -- Pasi >>> >>> >>>> Sorry I could not be of more help. >>>> >>>> Peter van der Maas >>>> peter&pjv-c.com >>>> >>>> -----Original Message----- >>>> From: Pasi K=E4rkk=E4inen [mailto:pasik@iki.fi] >>>> Sent: Saturday, January 29, 2011 2:04 PM >>>> To: Peter van der Maas >>>> Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; xen= -devel@lists.xensource.com >>>> Subject: Nvidia 9500GT Xen VGA passthru >>>> >>>> >>>> Hello Peter, >>>> >>>> Some people have been asking for tips about Nvidia Xen VGA passthru, >>>> so maybe you could help? >>>> >>>> Could you post the exact steps you did? >>>> >>>> Have you tried with Xen 4.0.x after your initial experiments in 2009= ? >>>> >>>> Thanks! >>>> >>>> -- Pasi >>>> >>>> On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrot= e: >>>>> I am happy to announce that I have successfully (and finally!)= been able >>>>> to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU= . >>>>> >>>>> >>>>> >>>>> About time! >>>>> >>>>> >>>>> >>>>> Config: >>>>> >>>>> -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) >>>>> >>>>> -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), V= T and VT-d >>>>> enabled >>>>> >>>>> -nVidia 9500GT (for VT-d passthrough - DomU) >>>>> >>>>> -nVidia GeForce2 MX200 (Dom0 console) >>>>> >>>>> -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) >>>>> >>>>> -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) >>>>> >>>>> -DomU: Windows XP (pro, sp3, 32-bit) >>>>> >>>>> >>>>> >>>>> Once the VT-d bugs were recently corrected (thank you, xen-dev= el!), >>>>> everything went fairly smoothly. Still very buggy yet (its >>>>> xen-unstable!), but overall it works. >>>>> >>>>> >>>>> >>>>> Make sure support for the PCI-backend is compiled into the ker= nel (not >>>>> just a module) and that you have your pciback.hide options in = grub >>>>> (late-binding may work, but I haven't tried). >>>>> >>>>> >>>>> >>>>> Good luck! >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -Peter van der Maas >>>>> _______________________________________________ >>>>> Xen-users mailing list >>>>> Xen-users@lists.xensource.com >>>>> http://lists.xensource.com/xen-users