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

Re: [Xen-users] Problem compiling Xen-4.7 with qemu-traditional for IGD passthrough



On Sun, Jan 01, 2017 at 09:48:10PM -0500, Bill Mccabe wrote:
> Hi,
> 
> I have an old thinkpad x201 tablet which has Vt-d support enabled and I am
> trying to perform igd passthrough in Xen.
> 
> It is my understanding that in order to attempt to do this I need to
> compile Xen with qemu-traditional.
> 
> However, the building of the Xen-4.7 package fails with the
> qemu-traditional option enabled with the following error:
> 
> ld -melf_i386 -s -r 32bitbios.o tcgbios/tcgbiosext.o util.o pmm.o -o
> 32bitbios_all.o
> 
> There are undefined symbols in the BIOS:
> 
>          U _GLOBAL_OFFSET_TABLE_
> 
> Makefile:25: recipe for target '32bitbios_all.o' failed
> 
> make[11]: *** [32bitbios_all.o] Error 11
> 
> make[11]: Leaving directory
> '/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/firmware/rombios/32bit'
> 
> Makefile:12: recipe for target 'all' failed
> 
> make[10]: *** [all] Error 2
> 
> make[10]: Leaving directory
> '/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/firmware/rombios/32bit'
> 
> /usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/firmware/rombios/../../../tools/Rules.mk:218:
> recipe for target 'subdir-all-32bit' failed
> 
> make[9]: *** [subdir-all-32bit] Error 2
> 
> make[9]: Leaving directory
> '/usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/firmware/rombios'
> 
> /usr/local/src/xen-4.7.0/debian/build/build-utils_amd64/tools/firmware/rombios/../../../tools/Rules.mk:213:
> recipe for target 'subdirs-all' failed
> 
> make[8]: *** [subdirs-all] Error 2
> 
> 
> I am compiling Xen-4.7 from the ubuntu source package using
> dpkg-buildpackage -rfakeroot on ubuntu Yakkety 16.10 with the following
> configure options:
> 
>  --disable-docs --disable-stubdom --disable-xen \
> 
>                         --prefix=/usr \
> 
>                         --includedir=/usr/include \
> 
>                         --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
> 
>                         --mandir=/usr/share/man \
> 
>                         --infodir=/usr/share/info \
> 
>                         --sysconfdir=/etc \
> 
>                         --localstatedir=/var \
> 
>                         --with-libexec-leaf-dir=xen-$(VERSION) \
> 
>                         --disable-blktap1 \
> 
>                         --disable-blktap2 \
> 
>                         --disable-ocamltools \
> 
>                         --enable-qemu-traditional --enable-rombios \
> 
> 
> --with-system-seabios=/usr/share/seabios/bios-256k.bin

Do you really need QEMU traditional and ROMBIOS? If not, I would suggest that
you remove both --enable-qemu-traditional and --enable-rombios from your
configure line and try again.

Note that you will get QEMU upstream and SeaBIOS by default, which is what's
recommended.

Roger.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

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