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

[Xen-users] Last pachs for Xen VGA PAssthrough NVIIDA (revision >=24798)

  • To: Xen <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: David TECHER <davidtecher@xxxxxxxx>
  • Date: Mon, 27 Feb 2012 16:01:32 +0000 (GMT)
  • Delivery-date: Mon, 27 Feb 2012 16:02:36 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=XY1mVTB/jDRR2YhPxuDaNL83seyhWq0WuxMUc2/UeVGBh+I6QB+gG1RHcXsqx/5WR3Rmiq6+kOWpohAPzM+IDcHsqoIKvcE+nt2QudR05ya+Jxqjmie8NfFNwcroNpWZ1s7IG4AohHjjSQyfd8NIttyK0/sMzJdbyP9JmJpS9QE=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>


Here are the last patchs.

My personal recommendation: If you have a   ATI graphic card or if you have the intention to buy one, good choice :)

I maintain patches for NVIDIA because I like to play on Linux PVHVM domU for gaming and multimedia :)
So I could have one domU for gaming and another one for multimedia

Q:Why are there new patches?
R: A few modifications was introduced from revision 24782 to 24785. A new file  is tools/firmware/hvmloader/rombios.c. It implies that this file has to be patched too.

Should work with Xen revision >=24798.

As usual

a) Exrtact EEPROM for your NVIDIA graphic card (nvtools ...)

b) Download Xen 4.2 unstable
hg clone -r $rev http://xenbits.xensource.com/staging/xen-unstable.hg/ xen-unstable.hg-rev-${rev}

c)  make a first build for tools
cd xen-unstable.hg-rev-${rev}/
cd tools
make && make clean
cd ..

d) apply patches

 wget -q http://www.davidgis.fr/download/xen-4.2_rev24798_gfx-passthrough-patchs.tar.bz2 && \
 tar xvjf xen-4.2_rev24798_gfx-passthrough-patchs.tar.bz2 && \
 for file in $(ls xen-4.2_rev24798_gfx-passthrough-patchs/*);do patch -p1 < $file;done

e) Modify the values assigned to your graphic card to tools/firmware/hvmloader/acpi/dsdt.asl

see http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through
Section "6. Quick instructions to install Xen with patches " - # 5

f)Copy your EEPROM for graphic gard (VGA BIOS)

cp -/path/tovgabios-pt.bin  tools/firmware/vgabios/vgabios-pt.bin

g) Compil and install

make xen && make tools && make stubdom \
make xen && make tools && make stubdom
Xen-users mailing list



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