David TECHER
2011-Aug-31 09:49 UTC
[Xen-users] Pathcs for VGA PassThrough for xen-4.2 unstable revision 23799
Hi I''ve just updated the patchs taken from mailing list on May 2011. As usual hg clone -r 23799 http://xenbits.xensource.com/hg/staging/xen-unstable.hg/ xen # Make a first "init build" cd xen/tools make make clean cd .. # Download patches and patch wget -q http://www.davidgis.fr/download/gfx_patch.tar.bz2 tar xvjf gfx_patch.tar.bz2 for file in $(ls gfx_patch/*.patch);do patch -p0 < ../$file;done # Copy the bios (EEPROM) of your graphic card to #tools/firmware/vgabios/vgabios-pt.bin cp /path/to/yourbios.rom tools/firmware/vgabios/vgabios-pt.bin # Compil and install make tools make install-tools PYTHON_PREFIX_ARG Updating tools/firmware/hvmloader/acpi/dsdt.asl ################################################ Notice: I''ve updated the file tools/firmware/hvmloader/acpi/dsdt.asl for my graphic card (MSI GT 440 1024), so please update the file tools/firmware/hvmloader/acpi/dsdt.asl according to the required memory reservations of your graphics card. Get it using lspci |grep VGA. Ensure to use dmesg | grep pci (depends of required modules for PCI debug in your kernel Find the required fields Update the file. I did not succeed to use my graphic card EVGA GTX 460 1024M. If someone succeeded, it will be great to tell how he did :) For French users: ################# I''ve just done a tutorial on my blog at http://www.davidgis.fr/blog/index.php?2011/08/28/818-xen-intel-vt-d-sur-core-5-2400-vga-passthrough-sur-carte-nvidia-msi-gt-440-partie-iv Thnaks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
mastersplinter777
2011-Oct-01 14:51 UTC
[Xen-users] Re: Pathcs for VGA PassThrough for xen-4.2 unstable revision 23799
I''m going to passthru my GTX460 1024Mb and I''d like you to send me the patch for xen 4.2. I tried to edit your patch myself but got errors during xen compilation. Thanks! -- View this message in context: http://xen.1045712.n5.nabble.com/Pathcs-for-VGA-PassThrough-for-xen-4-2-unstable-revision-23799-tp4753565p4859843.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Erik Lind
2011-Oct-02 08:17 UTC
Re: [Xen-users] Re: Pathcs for VGA PassThrough for xen-4.2 unstable revision 23799
Hi What kind of error did you get? I tried to follow the instruction and the only fault I had was in the Makefile. I guess the patch should be as included below. /Erik diff -r ac9aa65050e9 tools/firmware/hvmloader/Makefile --- a/tools/firmware/hvmloader/Makefile Tue Aug 30 11:46:58 2011 +0100 +++ b/tools/firmware/hvmloader/Makefile Sun Oct 02 12:02:08 2011 +0200 @@ -56,6 +56,7 @@ else CIRRUSVGA_ROM := ../vgabios/VGABIOS-lgpl-latest.cirrus.bin endif +PTVGA_ROM := ../vgabios/vgabios-pt.bin .PHONY: all all: subdirs-all @@ -69,7 +70,7 @@ $(OBJCOPY) hvmloader.tmp hvmloader rm -f hvmloader.tmp -roms.inc: $(ROMBIOS_ROM) $(SEABIOS_ROM) $(STDVGA_ROM) $(CIRRUSVGA_ROM) ../etherboot/eb-roms.h +roms.inc: $(ROMBIOS_ROM) $(SEABIOS_ROM) $(STDVGA_ROM) $(CIRRUSVGA_ROM) *$(PTVGA_ROM)* ../etherboot/eb-roms.h echo "/* Autogenerated file. DO NOT EDIT */" > $@.new ifneq ($(ROMBIOS_ROM),) @@ -94,6 +95,11 @@ sh ./mkhex vgabios_cirrusvga $(CIRRUSVGA_ROM) >> $@.new echo "#endif" >> $@.new endif +ifneq ($(PTVGA_ROM),) + echo "#ifdef ROM_INCLUDE_PTVGABIOS" >> $@.new + sh ./mkhex vgabios_pt $(PTVGA_ROM) >> $@.new + echo "#endif" >> $@.new +endif echo "#ifdef ROM_INCLUDE_ETHERBOOT" >> $@.new cat ../etherboot/eb-roms.h >> $@.new On 10/01/2011 04:51 PM, mastersplinter777 wrote:> I''m going to passthru my GTX460 1024Mb and I''d like you to send me the patch > for xen 4.2. I tried to edit your patch myself but got errors during xen > compilation. Thanks! > > -- > View this message in context: http://xen.1045712.n5.nabble.com/Pathcs-for-VGA-PassThrough-for-xen-4-2-unstable-revision-23799-tp4753565p4859843.html > Sent from the Xen - User mailing list archive at Nabble.com. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users