XEN3PAE_DOMU revision 1.9
1# $NetBSD: XEN3PAE_DOMU,v 1.9 2020/04/09 14:39:10 jdolecek Exp $
2
3include 	"arch/i386/conf/std.xen"
4
5options		XENPV		# PV domU support
6options 	MULTIPROCESSOR
7
8options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10#options 	UVMHIST
11#options 	UVMHIST_PRINT
12#options 	SYSCALL_DEBUG
13
14maxusers	32		# estimated number of users
15
16#
17options 	XEN
18options 	PAE
19#options 	DOM0OPS
20
21makeoptions	CPUFLAGS="-march=i686"
22
23#options 	MTRR		# memory-type range register syscall support
24
25#options 	CONSDEVNAME="\"xencons\""
26#options 	CONS_OVERRIDE
27
28options 	INSECURE	# disable kernel security levels - X needs this
29
30options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
31options 	NTP		# NTP phase/frequency locked loop
32
33options 	KTRACE		# system call tracing via ktrace(1)
34
35options 	SYSVMSG		# System V-like message queues
36options 	SYSVSEM		# System V-like semaphores
37#options 	SEMMNI=10	# number of semaphore identifiers
38#options 	SEMMNS=60	# number of semaphores in system
39#options 	SEMUME=10	# max number of undo entries per process
40#options 	SEMMNU=30	# number of undo structures in system
41options 	SYSVSHM		# System V-like memory sharing
42#options 	SHMMAXPGS=2048	# 2048 pages is the default
43
44options 	MODULAR		# new style module(7) framework
45options 	USERCONF	# userconf(4) support
46options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
47
48# Alternate buffer queue strategies for better responsiveness under high
49# disk I/O load.
50#options 	BUFQ_READPRIO
51options 	BUFQ_PRIOCSCAN
52
53# Diagnostic/debugging support options
54options 	DIAGNOSTIC	# inexpensive kernel consistency checks
55#options 	DEBUG		# expensive debugging checks/support
56options 	DDB		# in-kernel debugger
57options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
58options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
59#options 	KGDB		# remote debugger
60#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
61#makeoptions	DEBUG="-g"	# compile full symbol table
62options DDB_COMMANDONENTER="trace;show registers"
63
64# Compatibility options
65include 	"conf/compat_netbsd09.config"
66options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
67#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
68
69options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
70options 	COMPAT_LINUX	# binary compatibility with Linux
71#options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
72
73# Wedge support
74options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
75options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
76#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
77#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
78options 	DKWEDGE_METHOD_APPLE	# Support Apple partitions as wedges
79#options 	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
80
81# File systems
82file-system	FFS		# UFS
83file-system	EXT2FS		# second extended file system (linux)
84file-system	LFS		# log-structured file system
85file-system	MFS		# memory file system
86file-system	NFS		# Network File System client
87file-system	NTFS		# Windows/NT file system (experimental)
88file-system	CD9660		# ISO 9660 + Rock Ridge file system
89file-system	MSDOSFS		# MS-DOS file system
90file-system	FDESC		# /dev/fd
91file-system	KERNFS		# /kern
92file-system	NULLFS		# loopback file system
93file-system	OVERLAY		# overlay file system
94file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
95file-system	PROCFS		# /proc
96file-system	UMAPFS		# NULLFS + uid and gid remapping
97file-system	UNION		# union file system
98file-system	CODA		# Coda File System; also needs vcoda (below)
99file-system	PTYFS		# /dev/pts/N support
100file-system	TMPFS		# Efficient memory file-system
101file-system	NILFS		# experimental - NTT's NiLFS(2)
102#file-system	V7FS		# 7th Edition(V7) File System
103
104# File system options
105options 	QUOTA		# legacy UFS quotas
106options 	QUOTA2		# new, in-filesystem UFS quotas
107#options 	DISKLABEL_EI	# disklabel Endian Independent support
108#options 	FFS_EI		# FFS Endian Independent support
109options 	WAPBL		# File system journaling support
110#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
111options 	NFSSERVER	# Network File System server
112#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
113options 	UFS_EXTATTR	# Extended attribute support for UFS1
114#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
115				# immutable) behave as system flags.
116#options 	V7FS_EI		# V7FS Endian Independent support
117
118# Networking options
119#options 	GATEWAY		# packet forwarding
120options 	INET		# IP + ICMP + TCP + UDP
121options 	INET6		# IPv6
122options 	IPSEC		# IP security
123#options 	IPSEC_DEBUG	# debug for IP security
124#options 	MROUTING	# IP multicast routing
125#options 	PIM		# Protocol Independent Multicast
126options 	NETATALK	# AppleTalk networking protocols
127options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
128options 	PPP_DEFLATE	# Deflate compression support for PPP
129options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
130#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
131
132#options 	ALTQ		# Manipulate network interfaces' output queues
133#options 	ALTQ_BLUE	# Stochastic Fair Blue
134#options 	ALTQ_CBQ	# Class-Based Queueing
135#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
136#options 	ALTQ_FIFOQ	# First-In First-Out Queue
137#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
138#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
139#options 	ALTQ_LOCALQ	# Local queueing discipline
140#options 	ALTQ_PRIQ	# Priority Queueing
141#options 	ALTQ_RED	# Random Early Detection
142#options 	ALTQ_RIO	# RED with IN/OUT
143#options 	ALTQ_WFQ	# Weighted Fair Queueing
144
145options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
146#options 	NFS_BOOT_BOOTSTATIC
147#options 	NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
148#options 	NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
149#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
150#options 	NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
151#options 	NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
152
153#options 	__XEN_INTERFACE_VERSION__=0x00030205 # Xen 3.1 interface
154options 	MAXPHYS=32768	#xbd doesn't handle 64k transfers
155
156config		netbsd	root on ? type ?
157#config		netbsd	root on wd0a type ffs
158#config		netbsd	root on xennet0 type nfs
159
160mainbus0 at root
161
162hypervisor*	at mainbus?		# Xen hypervisor
163
164vcpu*		at hypervisor?		# Xen virtual CPUs
165
166xencons*	at hypervisor?		# Xen virtual console
167
168xenbus* 	at hypervisor?		# Xen virtual bus
169xennet* 	at xenbus?		# Xen virtual network interface
170xbd*		at xenbus?		# Xen virtual block device
171balloon*	at xenbus?		# Xen balloon device
172
173cinclude "arch/i386/conf/GENERIC.local"
174cinclude "arch/i386/conf/XEN3_DOMU.local"
175
176# Pseudo-Devices
177
178pseudo-device	crypto		# /dev/crypto device
179pseudo-device	swcrypto	# software crypto implementation
180
181# disk/mass storage pseudo-devices
182pseudo-device	ccd			# concatenated/striped disk devices
183pseudo-device	cgd			# cryptographic disk devices
184pseudo-device	raid			# RAIDframe disk driver
185options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
186# Options to enable various other RAIDframe RAID types.
187#options 	RF_INCLUDE_EVENODD=1
188#options 	RF_INCLUDE_RAID5_RS=1
189#options 	RF_INCLUDE_PARITYLOGGING=1
190#options 	RF_INCLUDE_CHAINDECLUSTER=1
191#options 	RF_INCLUDE_INTERDECLUSTER=1
192#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
193#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
194pseudo-device	fss			# file system snapshot device
195
196pseudo-device	md			# memory disk device (ramdisk)
197pseudo-device	vnd			# disk-like interface to files
198pseudo-device	dm			# device-mapper driver for LVM
199
200# network pseudo-devices
201pseudo-device	bpfilter		# Berkeley packet filter
202pseudo-device	loop			# network loopback
203pseudo-device	ppp			# Point-to-Point Protocol
204pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
205pseudo-device	sl			# Serial Line IP
206pseudo-device	tap			# virtual Ethernet
207pseudo-device	tun			# network tunneling over tty
208pseudo-device	gre			# generic L3 over IP tunnel
209pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
210#pseudo-device	faith			# IPv[46] tcp relay translation i/f
211pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
212pseudo-device	vlan			# IEEE 802.1q encapsulation
213pseudo-device	bridge			# simple inter-network bridging
214#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
215pseudo-device	l2tp			# L2TPv3 interface
216pseudo-device	npf			# NPF packet filter
217
218# accept filters
219pseudo-device	accf_data		# "dataready" accept filter
220pseudo-device	accf_http		# "httpready" accept filter
221
222# miscellaneous pseudo-devices
223pseudo-device	pty			# pseudo-terminals
224pseudo-device	clockctl		# user control of clock subsystem
225pseudo-device	ksyms			# /dev/ksyms
226pseudo-device	putter			# for puffs and pud
227
228# a pseudo device needed for Coda	# also needs CODA (above)
229pseudo-device	vcoda			# coda minicache <-> venus comm.
230
231# userland interface to drivers, including autoconf and properties retrieval
232pseudo-device	drvctl
233
234options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
235options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
236
237# PCI pass-through support:
238#xpci* at xenbus ?			#Xen3 PCI front end driver
239#pci* at xpci ?
240# you then need to add your PCI devices drivers below.
241