Building Freebsd i386 with Xen support

Julien Grall julien.grall at linaro.org
Sat Apr 19 18:05:33 UTC 2014


Hi Roger,

I'm unable to build FreeBSD i386 current with Xen support
(i.e GENERIC file):

xen_nexus.o: In function `nexus_xen_alloc_msi':
/usr/home/xentest/works/freebsd/sys/x86/xen/xen_nexus.c:129: undefined reference to `xen_msi_alloc'
xen_nexus.o: In function `nexus_xen_release_msi':
/usr/home/xentest/works/freebsd/sys/x86/xen/xen_nexus.c:136: undefined reference to `xen_msi_release'
xen_nexus.o: In function `nexus_xen_alloc_msix':
/usr/home/xentest/works/freebsd/sys/x86/xen/xen_nexus.c:115: undefined reference to `xen_msix_alloc'
xen_nexus.o: In function `nexus_xen_release_msix':
/usr/home/xentest/works/freebsd/sys/x86/xen/xen_nexus.c:122: undefined reference to `xen_msix_release'
xen_nexus.o: In function `nexus_xen_map_msi':
/usr/home/xentest/works/freebsd/sys/x86/xen/xen_nexus.c:143: undefined reference to `xen_msi_map'

With the small patch below, I'm able to build FreeBSD i386.
I'm not sure what is the process to submit a patch and who should I cc.

diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index f92ceff..e784133 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -599,3 +599,4 @@ x86/xen/xen_intr.c          optional xen | xenhvm
 x86/xen/xen_apic.c             optional xenhvm
 x86/xen/xenpv.c                        optional xen | xenhvm
 x86/xen/xen_nexus.c            optional xen | xenhvm
+x86/xen/xen_msi.c              optional        xenhvm


Regards,

-- 
Julien Grall


More information about the freebsd-xen mailing list