From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gordan Bobic Subject: Re: GPU passthrough with xen-unstable-atipassthrough patch Date: Fri, 17 May 2013 21:14:03 +0100 Message-ID: <51968F8B.8020603@bobich.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" Cc: matthias.kannenberg@googlemail.com List-Id: xen-devel@lists.xenproject.org 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