Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2014 18:57:06 +0100
From:      Julien Grall <julien.grall@linaro.org>
To:        roger.pau@citrix.com, freebsd-xen@freebsd.org
Subject:   Building Freebsd i386 with Xen support
Message-ID:  <5352B8F2.8050706@linaro.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5352B8F2.8050706>