WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] NetBSD XEN port

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] NetBSD XEN port
From: Dean Anderson <dean@xxxxxxx>
Date: Sun, 6 Nov 2011 18:36:21 -0500 (EST)
Delivery-date: Sun, 06 Nov 2011 15:38:02 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I'm not on XEN devel, nor the Netbsd devel lists, so I'd appreciate it
if someone can forward this to the appropriate place.

On Netbsd 5.1, if you turn off DDB in the kernel config file, XEN
domain0 will not build due to an unresolved symbol, cpu_Debugger.

The fix is pretty trivial: (sorry, I didn't include a diff)

on line 925 of sys/arch/amd64/amd64/locore.S, change from 

#ifdef XEN /* XXX debug code */

to 

#if defined(XEN) && defined(DDB) /* XXX debug code */

BTW, tuning the kernel to removed unused drivers and options reduces
size from 13meg to 5meg, along with correspondingly faster boot times.

                --Dean



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>