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