1 # $NetBSD: XEN3_DOMU,v 1.21 2010/01/03 03:50:38 dholland Exp $
3 include "arch/xen/conf/std.xen"
5 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
11 maxusers 32 # estimated number of users
17 makeoptions CPUFLAGS="-march=i686"
19 #options VM86 # virtual 8086 emulation
20 #options USER_LDT # user-settable LDT; used by WINE
22 #options MTRR # memory-type range register syscall support
24 #options CONSDEVNAME="\"xencons\""
25 #options CONS_OVERRIDE
27 options INSECURE # disable kernel security levels - X needs this
29 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
30 options NTP # NTP phase/frequency locked loop
32 options KTRACE # system call tracing via ktrace(1)
34 options SYSVMSG # System V-like message queues
35 options SYSVSEM # System V-like semaphores
36 #options SEMMNI=10 # number of semaphore identifiers
37 #options SEMMNS=60 # number of semaphores in system
38 #options SEMUME=10 # max number of undo entries per process
39 #options SEMMNU=30 # number of undo structures in system
40 options SYSVSHM # System V-like memory sharing
41 #options SHMMAXPGS=2048 # 2048 pages is the default
42 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
45 options USERCONF # userconf(4) support
46 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
48 # Diagnostic/debugging support options
49 options DIAGNOSTIC # expensive kernel consistency checks
50 options DEBUG # expensive debugging checks/support
51 options KMEMSTATS # kernel memory statistics (vmstat -m)
52 options DDB # in-kernel debugger
53 options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
54 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
55 #options KGDB # remote debugger
56 #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
57 #makeoptions DEBUG="-g" # compile full symbol table
59 # Compatibility options
60 options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI
61 options COMPAT_09 # NetBSD 0.9
62 options COMPAT_10 # NetBSD 1.0
63 options COMPAT_11 # NetBSD 1.1
64 options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI
65 options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI
66 options COMPAT_14 # NetBSD 1.4
67 options COMPAT_15 # NetBSD 1.5
68 options COMPAT_16 # NetBSD 1.6
69 options COMPAT_20 # NetBSD 2.0
70 options COMPAT_30 # NetBSD 3.0 compatibility.
71 options COMPAT_40 # NetBSD 4.0
72 options COMPAT_43 # 4.3BSD, 386BSD, and BSDI
73 options COMPAT_50 # NetBSD 5.0
74 options COMPAT_386BSD_MBRPART # recognize old partition ID
75 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
77 options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
78 options COMPAT_SVR4 # binary compatibility with SVR4
79 options COMPAT_IBCS2 # binary compatibility with SCO and ISC
80 options COMPAT_LINUX # binary compatibility with Linux
81 options COMPAT_FREEBSD # binary compatibility with FreeBSD
82 #options COMPAT_MACH # binary compatibility with Mach binaries
83 #options COMPAT_DARWIN # binary compatibility with Darwin binaries
84 #options EXEC_MACHO # exec MACH-O binaries
85 #options COMPAT_PECOFF # kernel support to run Win32 apps
86 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
90 file-system EXT2FS # second extended file system (linux)
91 file-system LFS # log-structured file system
92 file-system MFS # memory file system
93 file-system NFS # Network File System client
94 file-system NTFS # Windows/NT file system (experimental)
95 file-system CD9660 # ISO 9660 + Rock Ridge file system
96 file-system MSDOSFS # MS-DOS file system
97 file-system FDESC # /dev/fd
98 file-system KERNFS # /kern
99 file-system NULLFS # loopback file system
100 file-system OVERLAY # overlay file system
101 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
102 file-system PROCFS # /proc
103 file-system UMAPFS # NULLFS + uid and gid remapping
104 file-system UNION # union file system
105 file-system CODA # Coda File System; also needs vcoda (below)
106 file-system SMBFS # experimental - CIFS; also needs nsmb (below)
107 file-system PTYFS # /dev/pts/N support
108 file-system TMPFS # Efficient memory file-system
109 file-system NILFS # experimental - NTT's NiLFS(2)
111 # File system options
112 options QUOTA # UFS quotas
113 #options FFS_EI # FFS Endian Independent support
114 options WAPBL # File system journaling support - Experimental
115 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
116 options NFSSERVER # Network File System server
117 #options FFS_NO_SNAPSHOT # No FFS snapshot support
118 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
119 # immutable) behave as system flags.
122 #options GATEWAY # packet forwarding
123 options INET # IP + ICMP + TCP + UDP
125 #options IPSEC # IP security
126 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
127 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
128 #options IPSEC_DEBUG # debug for IP security
129 #options MROUTING # IP multicast routing
130 #options PIM # Protocol Independent Multicast
131 #options ISO,TPIP # OSI
132 #options EON # OSI tunneling over IP
133 options NETATALK # AppleTalk networking protocols
134 options PPP_BSDCOMP # BSD-Compress compression support for PPP
135 options PPP_DEFLATE # Deflate compression support for PPP
136 options PPP_FILTER # Active filter support for PPP (requires bpf)
137 options PFIL_HOOKS # pfil(9) packet filter hooks
138 options IPFILTER_LOG # ipmon(8) log support
139 options IPFILTER_LOOKUP # ippool(8) support
140 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
141 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
143 #options ALTQ # Manipulate network interfaces' output queues
144 #options ALTQ_BLUE # Stochastic Fair Blue
145 #options ALTQ_CBQ # Class-Based Queueing
146 #options ALTQ_CDNR # Diffserv Traffic Conditioner
147 #options ALTQ_FIFOQ # First-In First-Out Queue
148 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
149 #options ALTQ_HFSC # Hierarchical Fair Service Curve
150 #options ALTQ_LOCALQ # Local queueing discipline
151 #options ALTQ_PRIQ # Priority Queueing
152 #options ALTQ_RED # Random Early Detection
153 #options ALTQ_RIO # RED with IN/OUT
154 #options ALTQ_WFQ # Weighted Fair Queueing
156 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
157 #options NFS_BOOT_BOOTSTATIC
158 #options NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
159 #options NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
160 #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
161 #options NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
162 #options NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
164 #options __XEN_INTERFACE_VERSION__=0x00030205 # Xen 3.1 interface
165 options XEN_COMPAT_030001 #compatible with Xen3 before 3.0.2
166 options MAXPHYS=32768 #xbd doesn't handle 64k transfers
168 config netbsd root on ? type ?
169 #config netbsd root on wd0a type ffs
170 #config netbsd root on xennet0 type nfs
174 hypervisor* at mainbus? # Xen hypervisor
176 vcpu* at hypervisor? # Xen virtual CPUs
178 npx0 at hypervisor? # x86 math coprocessor
180 xencons* at hypervisor? # Xen virtual console
182 xenbus* at hypervisor? # Xen virtual bus
183 xennet* at xenbus? # Xen virtual network interface
184 xbd* at xenbus? # Xen virtual block device
186 cinclude "arch/i386/conf/GENERIC.local"
190 pseudo-device crypto # /dev/crypto device
191 pseudo-device swcrypto # software crypto implementation
193 # disk/mass storage pseudo-devices
194 pseudo-device ccd 4 # concatenated/striped disk devices
195 pseudo-device cgd 4 # cryptographic disk devices
196 pseudo-device raid 8 # RAIDframe disk driver
197 options RAID_AUTOCONFIG # auto-configuration of RAID components
198 # Options to enable various other RAIDframe RAID types.
199 #options RF_INCLUDE_EVENODD=1
200 #options RF_INCLUDE_RAID5_RS=1
201 #options RF_INCLUDE_PARITYLOGGING=1
202 #options RF_INCLUDE_CHAINDECLUSTER=1
203 #options RF_INCLUDE_INTERDECLUSTER=1
204 #options RF_INCLUDE_PARITY_DECLUSTERING=1
205 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
206 pseudo-device fss 4 # file system snapshot device
208 pseudo-device md 1 # memory disk device (ramdisk)
209 pseudo-device vnd # disk-like interface to files
211 # network pseudo-devices
212 pseudo-device bpfilter # Berkeley packet filter
213 pseudo-device ipfilter # IP filter (firewall) and NAT
214 pseudo-device loop # network loopback
215 pseudo-device ppp # Point-to-Point Protocol
216 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
217 pseudo-device sl # Serial Line IP
218 pseudo-device tap # virtual Ethernet
219 pseudo-device tun # network tunneling over tty
220 pseudo-device gre # generic L3 over IP tunnel
221 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933)
222 #pseudo-device faith # IPv[46] tcp relay translation i/f
223 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
224 pseudo-device vlan # IEEE 802.1q encapsulation
225 pseudo-device bridge # simple inter-network bridging
226 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
227 #pseudo-device pf # PF packet filter
228 #pseudo-device pflog # PF log if
231 pseudo-device accf_data # "dataready" accept filter
232 pseudo-device accf_http # "httpready" accept filter
234 # miscellaneous pseudo-devices
235 pseudo-device pty # pseudo-terminals
236 pseudo-device rnd # /dev/random and in-kernel generator
237 pseudo-device clockctl # user control of clock subsystem
238 pseudo-device ksyms # /dev/ksyms
239 pseudo-device putter # for puffs and pud
241 # a pseudo device needed for Coda # also needs CODA (above)
242 pseudo-device vcoda 4 # coda minicache <-> venus comm.
244 # a pseudo device needed for SMBFS
245 pseudo-device nsmb # experimental - SMB requester
247 # userland interface to drivers, including autoconf and properties retrieval
250 options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
251 options PAX_ASLR=0 # PaX Address Space Layout Randomization
253 # PCI pass-through support:
254 #xpci* at xenbus ? #Xen3 PCI front end driver
256 # you then need to add your PCI devices drivers below.