[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] VGA passthrough to HVM



Hi Teo,

We have all been eagerly awaiting the PCI Passthrough for VGA patches to be 
released by the Xen-Devel community .. but from the sounds of the guys at  
Intel - it's not ready for public testing and it will most probably generate 
more questions for them to answer. Ultimately this is a distraction and will 
only delay the release of this functionality.

The closest you will get at the moment is the patches which form part of the 
XCI build tree and support is limited to the Intel chipset and onboard Intel 
graphics controller. I believe Ian Jackson also has some success with ATI but 
NVidia cards are known not to work.

There are other examples available including the "Neo 1:1 patch" which is based 
on an older version of Xen (I think 3.2).

NOTE: This ONLY applies to HVM, VGA Passthrough using xen-unstable and Linux 
non-HVM DomU is working, I have success with many Nvidia cards using this 
setup. You can use this to prove your Xen in preparation for the HVM patches 
and to ensure that your VT-d and Dom0 are sound.

Peter J. van der Maas inspired us all with his announcement, but no one has 
ever been able to reproduce:
http://www.nabble.com/Successful-PCIe-Graphics-VT-d-Passthrough-to-Win32-DomU,-Q35-chipset-td21671745.html

Myself and Beng Heng also got to the same point as yourself, with issues on 
vBar<>pBar mapping and VGA BIOS. In all cases, the VGA card is visible in 
Device Manager in the DomU but the driver does not load. On My 8800GTS, the VGA 
Card FAN spins down the same as when booting under native XP but still the 
driver does not load.

Here are some good links with relevant information.

http://staff.science.uva.nl/~delaat/sne-2008-2009/p22/presentation.pdf

http://staff.science.uva.nl/~delaat/sne-2008-2009/p22/report.pdf

http://www.eecs.umich.edu/~bengheng/pubs/vgapt_techreport.pdf

http://lists.xensource.com/archives/html/xen-devel/2009-05/msg00579.html

This is where I admit defeat and hand over to the brilliance of the Xen 
developers!

My last state is captured here:
http://markmail.org/message/y476tymnhu2wrc47

The most success I have evidence of is from Alex Bebbington here:
http://markmail.org/message/mjiv437pva2yrhvp

If you look closely, this feature is on the Offical Xen Roadmap for Xen 4.0 
captured here:
http://wiki.xensource.com/xenwiki/XenRoadMap

{XCI}
There is sufficient information for the XCI project to build and create a demo 
install for the enthusiast:
http://wiki.xensource.com/xenwiki/XCI

http://xenbits.xen.org/xenclient/

I was downloading and building XCI before the above information was available 
by reading the XCI build tree and patches. The code is quite well structured 
along with containing some additional information on the xenvm and xenops 
commands:
http://xenbits.xen.org/gitweb?p=xenclient/toolstack.git;a=blob;f=xenvm/xenvm.readme

Hopefully this pulls together all the information that is available on Xen VGA 
Passthrough.

Rgds,
Tim Moore

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.