INSTALL_XEN3_DOMU revision 1.2
1# $NetBSD: INSTALL_XEN3_DOMU,v 1.2 2007/11/22 16:16:43 bouyer Exp $
2
3include 	"arch/amd64/conf/std.xen"
4
5options 	MAXPHYS=32768   #xbd doesn't handle 64k transfers
6
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10# Enable the hooks used for initializing the root memory-disk.
11options 	MEMORY_DISK_HOOKS
12options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
13options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
14options 	MEMORY_DISK_ROOT_SIZE=10000	# size of memory disk, in blocks
15
16maxusers	32		# estimated number of users
17
18# CPU-related options.
19#options 	MATH_EMULATE	# floating point emulation
20#options 	VM86		# virtual 8086 emulation
21#options 	USER_LDT	# user-settable LDT; used by WINE
22
23# Standard system options
24
25options 	INSECURE	# disable kernel security levels
26
27options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
28#options 	NTP		# NTP phase/frequency locked loop
29
30#options 	KTRACE		# system call tracing via ktrace(1)
31
32#options 	SYSVMSG		# System V-like message queues
33#options 	SYSVSEM		# System V-like semaphores
34#options 	SYSVSHM		# System V-like memory sharing
35#options 	SHMMAXPGS=2048	# 2048 pages is the default
36
37#options 	LKM		# loadable kernel modules
38
39options 	USERCONF	# userconf(4) support
40options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
41#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
42
43# Diagnostic/debugging support options
44options 	DIAGNOSTIC	# expensive kernel consistency checks
45options 	DEBUG		# expensive debugging checks/support
46#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
47options 	DDB		# in-kernel debugger
48#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
49options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
50#options 	KGDB		# remote debugger
51#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
52makeoptions	DEBUG="-g"	# compile full symbol table
53makeoptions	COPTS="-O2 -fno-omit-frame-pointer"
54options DDB_COMMANDONENTER="trace;show registers"
55
56
57# Compatibility options
58options 	COMPAT_40	# NetBSD 4.0
59
60#options 	COMPAT_SVR4	# binary compatibility with SVR4
61#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
62#options 	COMPAT_LINUX	# binary compatibility with Linux
63#options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
64options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
65
66# File systems
67file-system 	FFS		# UFS
68file-system 	EXT2FS		# second extended file system (linux)
69#file-system 	LFS		# log-structured file system
70file-system 	MFS		# memory file system
71file-system 	NFS		# Network File System client
72file-system 	NTFS		# Windows/NT Filesystem
73file-system 	CD9660		# ISO 9660 + Rock Ridge file system
74file-system 	MSDOSFS		# MS-DOS file system
75#file-system 	FDESC		# /dev/fd
76file-system 	KERNFS		# /kern
77#file-system 	NULLFS		# loopback file system
78#file-system 	PORTAL		# portal filesystem (still experimental)
79#file-system 	PROCFS		# /proc
80#file-system 	UMAPFS		# NULLFS + uid and gid remapping
81#file-system 	UNION		# union file system
82#file-system 	PTYFS		# /dev/pts/N support
83#file-system 	TMPFS		# Efficient memory file-system
84
85# Filesystem options
86#options 	QUOTA		# UFS quotas
87#options 	NFSSERVER	# Network File System server
88#options 	NFS_V2_ONLY	# Exclude NFS3 code to save space
89options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
90#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
91				# immutable) behave as system flags.
92
93# Networking options
94#options 	GATEWAY		# packet forwarding
95options 	INET		# IP + ICMP + TCP + UDP
96options 	INET6		# IPv6
97#options 	MROUTING	# IP multicast routing
98#options 	PIM		# Protocol Independent Multicast
99#options 	ISO,TPIP	# OSI
100#options 	EON		# OSI tunneling over IP
101#options 	NETATALK	# AppleTalk networking protocols
102#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
103#options 	PPP_DEFLATE	# Deflate compression support for PPP
104#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
105#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
106#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
107
108config		netbsd	root on ? type ?
109#config		netbsd	root on wd0a type ffs
110#config		netbsd	root on xennet0 type nfs
111
112mainbus0 at root
113
114hypervisor*	at mainbus?		# Xen hypervisor
115
116xencons*	at hypervisor?		# Xen virtual console
117
118vcpu*		at hypervisor?		# Xen virtual CPUs
119
120xenbus*		at hypervisor?		# Xen virtual bus
121xennet*		at xenbus?		# Xen virtual network interface
122xbd*		at xenbus?		# Xen virtual block device
123
124# Pseudo-Devices
125
126# disk/mass storage pseudo-devices
127#pseudo-device	ccd		4	# concatenated/striped disk devices
128pseudo-device	raid		8	# RAIDframe disk driver
129options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
130#pseudo-device	fss		4	# file system snapshot device
131pseudo-device	md		1	# memory disk device (ramdisk)
132#pseudo-device	vnd			# disk-like interface to files
133
134# network pseudo-devices
135pseudo-device	bpfilter		# Berkeley packet filter
136#pseudo-device	ipfilter		# IP filter (firewall) and NAT
137pseudo-device	loop			# network loopback
138#pseudo-device	ppp			# Point-to-Point Protocol
139#pseudo-device	sl			# Serial Line IP
140#pseudo-device	strip			# Starmode Radio IP (Metricom)
141#pseudo-device	tun			# network tunneling over tty
142#pseudo-device	gre			# generic L3 over IP tunnel
143
144# miscellaneous pseudo-devices
145pseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
146#pseudo-device	sequencer	1	# MIDI sequencer
147# rnd works; RND_COM does not on port i386 yet.
148pseudo-device	rnd			# /dev/random and in-kernel generator
149#options 	RND_COM			# use "com" randomness as well (BROKEN)
150
151# a pseudo device needed for Coda	# also needs CODA (above)
152#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
153