Subject: XEN0 kernel with options MULTIPROCESSOR
To: None <port-xen@netbsd.org>
From: Florent Parent <florent.parent@gmail.com>
List: port-xen
Date: 03/30/2006 13:21:09
Hello,

Is it possible to have a domain0 kernel with multiprocessor enabled
(Xen2)? I basically started with XEN0 kernel config and added the
following lines:

options         MULTIPROCESSOR
options         COM_MPLOCK      # com MP locking; REQUIRED on MP i386
options         MPBIOS          # configure CPUs and APICs using MPBIOS

Kernel compilation generates the following error. It looks like
something else is missing in the kernel configuration. Any pointers
appreciated.

Florent

../../../../arch/xen/i386/machdep.c: In function `cpu_reboot':
../../../../arch/xen/i386/machdep.c:832: warning: implicit declaration
of function `x86_broadcast_ipi'
../../../../arch/xen/i386/machdep.c:832: error: `X86_IPI_HALT'
undeclared (first use in this function)
../../../../arch/xen/i386/machdep.c:832: error: (Each undeclared
identifier is reported only once
../../../../arch/xen/i386/machdep.c:832: error: for each function it
appears in.)
../../../../arch/xen/i386/machdep.c: In function `need_resched':
../../../../arch/xen/i386/machdep.c:2479: warning: implicit
declaration of function `x86_send_ipi'
*** Error code 1