Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
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.
Signature · 11 lines
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: [email protected] MSN: [email protected] Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel