mercredi 13 mars 2013
Xen 4.3 - VGA PassThrough - ATI Card HD 7970 (changeset = 26706)
Par david techer, mercredi 13 mars 2013 à 15:44 :: Xen

-
Download the Xen unstable sources
rev=26706 hg clone -r $rev http://xenbits.xensource.com/staging/xen-unstable.hg/ xen-unstable.hg-rev-${rev} cd xen-unstable.hg-rev-${rev}
- configure
CURL=$(which curl-config) XML=$(which xml2-config) ./configure
- Make an initial build for tools
cd tools make -j4
- Clean up tools folder
make clean
- Return to the Xen folder
cd ..
- Download the patches
wget -q http://www.davidgis.fr/download/xen-4.3_rev26458_gfx-passthrough-patchs_ATI_HD7970.tar.bz2
- Uncompress the tarball
tar xvjf xen-4.3_rev26458_gfx-passthrough-patchs_ATI_HD7970.tar.bz2
- Apply the patches
for file in $(ls ../xen-4.3_rev26458_gfx-passthrough-patchs_ATI_HD7970/*);do patch -p1 < $file;done
- Build everything
make -j4 xen && make -j4 tools && make -j4 stubdom
- Install everything
make install-xen && make install-tools PYTHON_PREFIX_ARG= && make install-stubdom