This seems to be a continuing propagation of https://bugs.gentoo.org/show_bug.cgi?id=351648. I didn't notice that hvm is still present in profiles/arch/amd64/no-multilib/use.mask as I had a postsync.d script which was commenting it out. Now a new mask has been added for ovmf in profiles/arch/amd64/no-multilib/package.use.mask which is not necessary. The missing stubs-32.h which I think should be provided by glibc is solved by this line in the ebuild. xen-tools builds fine with both hvm and ovmf removed from the masks in the profile. xen-4.5.2 hvm and ovmf both worked fine, I will report about 4.8.1-r1 once the upgrade I am doing is complete. touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
An instance which includes these configuration options works on Xen 4.8.1 builder = "hvm" device_model_override = "/usr/bin/qemu-system-x86_64" device_model_version = "qemu-xen" bios = "ovmf" System profile is default/linux/amd64/13.0/no-multilib