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