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

Re: [Xen-devel] Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
  • Date: Thu, 10 Sep 2009 08:14:10 +0800
  • Delivery-date: Wed, 09 Sep 2009 17:14:39 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qEitOPNjk+C//7xz3HYA/EW8i/e/RsUdhk9M0v/hZMKJ/gPIIg/Qgz8aErl822dBW5 rFqDo38UiTVUwYp29QPi7khqJr+miagA1kReAL//AvZv02rgNOlCE7uT3Gh2VzKyDFO2 Vluk9+W7OYMYyvm2Q4f73k4npfOCSKq3V9ong=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi All,

I have solved the final problem.

Thank you Christian Tramnitz for pointing me to the missing link.

I have tested my own modifications to xen-vBAR-pBAR.patch and it works!

I reproduce part of xen-vBAR-pBAR.patch here which I modified for my nVidia Geforce 8400 GS graphics card:

<CODE>

diff -r 96b634bf65c3 tools/firmware/hvmloader/acpi/dsdt.asl
--- a/tools/firmware/hvmloader/acpi/dsdt.asl    Mon Aug 31 13:14:47 2009 +0800
+++ b/tools/firmware/hvmloader/acpi/dsdt.asl    Mon Aug 31 16:03:27 2009 +0800
@@ -175,6 +175,34 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2,
                         0x000BFFFF,
                         0x00000000,
                         0x00020000)
+
+                    /* reserve MMIO BARs of gfx for 1:1 mapping */
+                    DWordMemory(
+                        ResourceProducer, PosDecode, MinFixed, MaxFixed,
+                        Cacheable, ReadWrite,
+                        0x00000000,
+                        0xC0000000,
+                        0xCFFFFFFF,
+                        0x00000000,
+                        0x10000000)
+
+                    DWordMemory(
+                        ResourceProducer, PosDecode, MinFixed, MaxFixed,
+                        NonCacheable, ReadWrite,
+                        0x00000000,
+                        0xD0000000,
+                        0xD1FFFFFF,
+                        0x00000000,
+                        0x02000000)
+
+                    DWordMemory(
+                        ResourceProducer, PosDecode, MinFixed, MaxFixed,
+                        NonCacheable, ReadWrite,
+                        0x00000000,
+                        0xD2000000,
+                        0xD2FFFFFF,
+                        0x00000000,
+                        0x01000000)
 
                     DWordMemory(
                         ResourceProducer, PosDecode, MinFixed, MaxFixed,

</CODE>


Once again, thanks to Xen developers, engineers at Intel and everybody who have helped me along the way.

--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore
_______________________________________________
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®.