Skip to contentSkip to conversation

GPU passthrough with xen-unstable-atipassthrough patch

DISCUSSION Gordan Bobic 1 participant 1 message May 17, 2013

lore
Share & tools
lore
#0 lore raw

I'm trying to patch 4.2.2 using this patch, provided on a recent thread:

http://lists.xen.org/archives/html/xen-users/2013-03/msg00127.html

but the build fails:

ld: warning: section .bss' type changed to PROGBITS /root/rpmbuild/BUILD/xen-4.2.2/stubdom/mini-os-x86_64-ioemu/mini-os.o: In function ati_hw_out':
/root/rpmbuild/BUILD/xen-4.2.2/stubdom/../tools/qemu-xen-traditional/hw/pt-graphics.c:82: undefined reference to iopl' /root/rpmbuild/BUILD/xen-4.2.2/stubdom/../tools/qemu-xen-traditional/hw/pt-graphics.c:84: undefined reference to iopl' /root/rpmbuild/BUILD/xen-4.2.2/stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `ati_hw_in':
/root/rpmbuild/BUILD/xen-4.2.2/stubdom/../tools/qemu-xen-traditional/hw/pt-graphics.c:72: undefined reference to iopl' /root/rpmbuild/BUILD/xen-4.2.2/stubdom/../tools/qemu-xen-traditional/hw/pt-graphics.c:74: undefined reference to iopl' make[2]: *** [/root/rpmbuild/BUILD/xen-4.2.2/stubdom/mini-os-x86_64-ioemu/mini-os] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/xen-4.2.2/extras/mini-os'
make[1]: *** [ioemu-stubdom] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/xen-4.2.2/stubdom'
make: *** [install-stubdom] Error 2

Is there a patch against 4.2.2 somewhere, before I dig into the source?

Where is iopl() defined?

Gordan