XEN3_DOMU revision 1.75.2.3 1 1.75.2.3 martin # $NetBSD: XEN3_DOMU,v 1.75.2.3 2018/01/26 14:28:15 martin Exp $
2 1.2 bouyer
3 1.2 bouyer include "arch/amd64/conf/std.xen"
4 1.2 bouyer
5 1.67 dholland options MULTIPROCESSOR
6 1.35 cherry
7 1.2 bouyer options INCLUDE_CONFIG_FILE # embed config file in kernel binary
8 1.2 bouyer
9 1.2 bouyer #options UVMHIST
10 1.2 bouyer #options UVMHIST_PRINT
11 1.2 bouyer #options SYSCALL_DEBUG
12 1.2 bouyer
13 1.2 bouyer maxusers 32 # estimated number of users
14 1.2 bouyer
15 1.2 bouyer #
16 1.43 bouyer options MAXPHYS=32768 #xbd doesn't handle 64k transfers
17 1.2 bouyer #options DOM0OPS
18 1.2 bouyer
19 1.2 bouyer #options USER_LDT # user-settable LDT; used by WINE
20 1.2 bouyer
21 1.2 bouyer #options MTRR # memory-type range register syscall support
22 1.2 bouyer
23 1.2 bouyer #options CONSDEVNAME="\"xencons\""
24 1.2 bouyer #options CONS_OVERRIDE
25 1.2 bouyer
26 1.2 bouyer options INSECURE # disable kernel security levels - X needs this
27 1.2 bouyer
28 1.2 bouyer options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
29 1.2 bouyer options NTP # NTP phase/frequency locked loop
30 1.2 bouyer
31 1.2 bouyer options KTRACE # system call tracing via ktrace(1)
32 1.2 bouyer
33 1.2 bouyer options SYSVMSG # System V-like message queues
34 1.2 bouyer options SYSVSEM # System V-like semaphores
35 1.2 bouyer options SYSVSHM # System V-like memory sharing
36 1.2 bouyer
37 1.66 maxv options MODULAR # new style module(7) framework
38 1.2 bouyer options USERCONF # userconf(4) support
39 1.2 bouyer options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
40 1.2 bouyer
41 1.75.2.3 martin # Alternate buffer queue strategies for better responsiveness under high
42 1.75.2.3 martin # disk I/O load.
43 1.31 jakllsch #options BUFQ_READPRIO
44 1.31 jakllsch options BUFQ_PRIOCSCAN
45 1.31 jakllsch
46 1.2 bouyer # Diagnostic/debugging support options
47 1.75.2.2 martin options DIAGNOSTIC # inexpensive kernel consistency checks
48 1.37 bouyer #options DEBUG # expensive debugging checks/support
49 1.2 bouyer options DDB # in-kernel debugger
50 1.53 szptvlfn options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic'
51 1.2 bouyer options DDB_HISTORY_SIZE=512 # enable history editing in DDB
52 1.2 bouyer #options KGDB # remote debugger
53 1.2 bouyer #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
54 1.37 bouyer #makeoptions DEBUG="-g" # compile full symbol table
55 1.30 ryo makeoptions COPTS="-O2 -fno-omit-frame-pointer"
56 1.2 bouyer options DDB_COMMANDONENTER="trace;show registers"
57 1.2 bouyer
58 1.2 bouyer # Compatibility options
59 1.57 dholland options COMPAT_43 # 4.3BSD binary compatibility.
60 1.57 dholland options COMPAT_15 # NetBSD 1.5,
61 1.12 joerg options COMPAT_16 # NetBSD 1.6,
62 1.12 joerg options COMPAT_20 # NetBSD 2.0,
63 1.12 joerg options COMPAT_30 # NetBSD 3.0,
64 1.57 dholland options COMPAT_40 # NetBSD 4.0,
65 1.57 dholland options COMPAT_50 # NetBSD 5.0,
66 1.57 dholland options COMPAT_60 # NetBSD 6.0, and
67 1.57 dholland options COMPAT_70 # NetBSD 7.0 binary compatibility.
68 1.12 joerg #options COMPAT_386BSD_MBRPART # recognize old partition ID
69 1.12 joerg
70 1.12 joerg options COMPAT_OSSAUDIO
71 1.2 bouyer options COMPAT_NETBSD32
72 1.12 joerg options COMPAT_LINUX
73 1.12 joerg options COMPAT_LINUX32 # req. COMPAT_LINUX and COMPAT_NETBSD32
74 1.2 bouyer options EXEC_ELF32
75 1.2 bouyer options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
76 1.2 bouyer
77 1.46 riz # Wedge support
78 1.46 riz options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
79 1.46 riz options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
80 1.58 christos #options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
81 1.58 christos #options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges
82 1.68 ryo options DKWEDGE_METHOD_APPLE # Support Apple partitions as wedges
83 1.73 rin #options DKWEDGE_METHOD_RDB # Support RDB partitions as wedges
84 1.46 riz
85 1.2 bouyer # File systems
86 1.68 ryo file-system FFS # UFS
87 1.68 ryo file-system EXT2FS # second extended file system (linux)
88 1.68 ryo file-system LFS # log-structured file system
89 1.68 ryo file-system MFS # memory file system
90 1.68 ryo file-system NFS # Network File System client
91 1.68 ryo file-system NTFS # Windows/NT file system (experimental)
92 1.68 ryo file-system CD9660 # ISO 9660 + Rock Ridge file system
93 1.68 ryo file-system MSDOSFS # MS-DOS file system
94 1.68 ryo file-system FDESC # /dev/fd
95 1.68 ryo file-system KERNFS # /kern
96 1.68 ryo file-system NULLFS # loopback file system
97 1.68 ryo file-system OVERLAY # overlay file system
98 1.20 pooka file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
99 1.68 ryo file-system PROCFS # /proc
100 1.68 ryo file-system UMAPFS # NULLFS + uid and gid remapping
101 1.68 ryo file-system UNION # union file system
102 1.68 ryo file-system CODA # Coda File System; also needs vcoda (below)
103 1.68 ryo file-system SMBFS # experimental - CIFS; also needs nsmb (below)
104 1.68 ryo file-system PTYFS # /dev/pts/N support
105 1.68 ryo file-system TMPFS # Efficient memory file-system
106 1.2 bouyer
107 1.2 bouyer # File system options
108 1.27 bouyer options QUOTA # legacy UFS quotas
109 1.27 bouyer options QUOTA2 # new, in-filesystem UFS quotas
110 1.2 bouyer #options FFS_EI # FFS Endian Independent support
111 1.34 dholland options WAPBL # File system journaling support
112 1.2 bouyer #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
113 1.2 bouyer options NFSSERVER # Network File System server
114 1.2 bouyer #options FFS_NO_SNAPSHOT # No FFS snapshot support
115 1.59 manu options UFS_EXTATTR # Extended attribute support for UFS1
116 1.2 bouyer #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
117 1.2 bouyer # immutable) behave as system flags.
118 1.2 bouyer
119 1.2 bouyer # Networking options
120 1.2 bouyer #options GATEWAY # packet forwarding
121 1.2 bouyer options INET # IP + ICMP + TCP + UDP
122 1.2 bouyer options INET6 # IPV6
123 1.62 bouyer options IPSEC # IP security
124 1.2 bouyer #options IPSEC_DEBUG # debug for IP security
125 1.2 bouyer #options MROUTING # IP multicast routing
126 1.2 bouyer #options PIM # Protocol Independent Multicast
127 1.2 bouyer options NETATALK # AppleTalk networking protocols
128 1.2 bouyer options PPP_BSDCOMP # BSD-Compress compression support for PPP
129 1.2 bouyer options PPP_DEFLATE # Deflate compression support for PPP
130 1.2 bouyer options PPP_FILTER # Active filter support for PPP (requires bpf)
131 1.2 bouyer options IPFILTER_LOG # ipmon(8) log support
132 1.2 bouyer options IPFILTER_LOOKUP # ippool(8) support
133 1.23 mrg options IPFILTER_COMPAT # Compat for IP-Filter
134 1.2 bouyer #options IPFILTER_DEFAULT_BLOCK # block all packets by default
135 1.2 bouyer #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
136 1.2 bouyer
137 1.2 bouyer #options ALTQ # Manipulate network interfaces' output queues
138 1.2 bouyer #options ALTQ_BLUE # Stochastic Fair Blue
139 1.2 bouyer #options ALTQ_CBQ # Class-Based Queueing
140 1.2 bouyer #options ALTQ_CDNR # Diffserv Traffic Conditioner
141 1.2 bouyer #options ALTQ_FIFOQ # First-In First-Out Queue
142 1.2 bouyer #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
143 1.2 bouyer #options ALTQ_HFSC # Hierarchical Fair Service Curve
144 1.2 bouyer #options ALTQ_LOCALQ # Local queueing discipline
145 1.2 bouyer #options ALTQ_PRIQ # Priority Queueing
146 1.2 bouyer #options ALTQ_RED # Random Early Detection
147 1.2 bouyer #options ALTQ_RIO # RED with IN/OUT
148 1.2 bouyer #options ALTQ_WFQ # Weighted Fair Queueing
149 1.2 bouyer
150 1.17 nisimura options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
151 1.17 nisimura #options NFS_BOOT_BOOTSTATIC
152 1.2 bouyer #options NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
153 1.2 bouyer #options NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
154 1.2 bouyer #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
155 1.2 bouyer #options NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
156 1.2 bouyer #options NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
157 1.2 bouyer
158 1.2 bouyer config netbsd root on ? type ?
159 1.2 bouyer #config netbsd root on wd0a type ffs
160 1.2 bouyer #config netbsd root on xennet0 type nfs
161 1.2 bouyer
162 1.2 bouyer mainbus0 at root
163 1.2 bouyer
164 1.2 bouyer hypervisor* at mainbus? # Xen hypervisor
165 1.2 bouyer
166 1.2 bouyer vcpu* at hypervisor? # Xen virtual CPUs
167 1.30 ryo xenbus* at hypervisor? # Xen virtual bus
168 1.30 ryo xennet* at xenbus? # Xen virtual network interface
169 1.2 bouyer xbd* at xenbus? # Xen virtual block device
170 1.29 jym balloon* at xenbus? # Xen balloon device
171 1.2 bouyer
172 1.2 bouyer xencons* at hypervisor? # Xen virtual console
173 1.2 bouyer
174 1.30 ryo # PCI pass-through support:
175 1.52 jakllsch #xpci* at xenbus ? #Xen3 PCI front end driver
176 1.52 jakllsch #pci* at xpci ?
177 1.16 bouyer # you then need to add your PCI devices drivers below.
178 1.16 bouyer
179 1.6 jmmv cinclude "arch/amd64/conf/GENERIC.local"
180 1.69 christos cinclude "arch/amd64/conf/XEN3_DOMU.local"
181 1.2 bouyer
182 1.2 bouyer # Pseudo-Devices
183 1.2 bouyer
184 1.13 cegger #
185 1.13 cegger # accept filters
186 1.13 cegger pseudo-device accf_data # "dataready" accept filter
187 1.13 cegger pseudo-device accf_http # "httpready" accept filter
188 1.13 cegger
189 1.68 ryo pseudo-device crypto # /dev/crypto device
190 1.2 bouyer pseudo-device swcrypto # software crypto implementation
191 1.2 bouyer
192 1.2 bouyer # disk/mass storage pseudo-devices
193 1.47 christos pseudo-device ccd # concatenated/striped disk devices
194 1.47 christos pseudo-device cgd # cryptographic disk devices
195 1.48 christos pseudo-device raid # RAIDframe disk driver
196 1.2 bouyer options RAID_AUTOCONFIG # auto-configuration of RAID components
197 1.2 bouyer # Options to enable various other RAIDframe RAID types.
198 1.2 bouyer #options RF_INCLUDE_EVENODD=1
199 1.2 bouyer #options RF_INCLUDE_RAID5_RS=1
200 1.2 bouyer #options RF_INCLUDE_PARITYLOGGING=1
201 1.2 bouyer #options RF_INCLUDE_CHAINDECLUSTER=1
202 1.2 bouyer #options RF_INCLUDE_INTERDECLUSTER=1
203 1.2 bouyer #options RF_INCLUDE_PARITY_DECLUSTERING=1
204 1.2 bouyer #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
205 1.22 pooka pseudo-device fss # file system snapshot device
206 1.20 pooka pseudo-device putter # for puffs and pud
207 1.2 bouyer
208 1.26 hannken pseudo-device md # memory disk device (ramdisk)
209 1.2 bouyer pseudo-device vnd # disk-like interface to files
210 1.25 haad pseudo-device dm # device-mapper driver for LVM
211 1.2 bouyer
212 1.2 bouyer # network pseudo-devices
213 1.2 bouyer pseudo-device bpfilter # Berkeley packet filter
214 1.74 sborrill #pseudo-device carp # Common Address Redundancy Protocol
215 1.2 bouyer pseudo-device ipfilter # IP filter (firewall) and NAT
216 1.2 bouyer pseudo-device loop # network loopback
217 1.74 sborrill #pseudo-device mpls # MPLS pseudo-interface
218 1.2 bouyer pseudo-device ppp # Point-to-Point Protocol
219 1.2 bouyer pseudo-device pppoe # PPP over Ethernet (RFC 2516)
220 1.2 bouyer pseudo-device sl # Serial Line IP
221 1.2 bouyer pseudo-device tap # virtual Ethernet
222 1.2 bouyer pseudo-device tun # network tunneling over tty
223 1.2 bouyer pseudo-device gre # generic L3 over IP tunnel
224 1.2 bouyer pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
225 1.2 bouyer #pseudo-device faith # IPv[46] tcp relay translation i/f
226 1.2 bouyer pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
227 1.2 bouyer pseudo-device vlan # IEEE 802.1q encapsulation
228 1.2 bouyer pseudo-device bridge # simple inter-network bridging
229 1.2 bouyer #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
230 1.2 bouyer #pseudo-device pf # PF packet filter
231 1.2 bouyer #pseudo-device pflog # PF log if
232 1.39 chs #pseudo-device pfsync # PF sync if
233 1.39 chs #pseudo-device npf # NPF packet filter
234 1.2 bouyer
235 1.65 christos options PAX_MPROTECT=1 # PaX mprotect(2) restrictions
236 1.65 christos options PAX_ASLR=1 # PaX Address Space Layout Randomization
237 1.21 jym
238 1.2 bouyer # miscellaneous pseudo-devices
239 1.2 bouyer pseudo-device pty # pseudo-terminals
240 1.2 bouyer pseudo-device clockctl # user control of clock subsystem
241 1.2 bouyer pseudo-device ksyms # /dev/ksyms
242 1.2 bouyer
243 1.2 bouyer # a pseudo device needed for Coda # also needs CODA (above)
244 1.48 christos pseudo-device vcoda # coda minicache <-> venus comm.
245 1.2 bouyer
246 1.2 bouyer # a pseudo device needed for SMBFS
247 1.2 bouyer pseudo-device nsmb # experimental - SMB requester
248 1.32 riz
249 1.64 tnn # iSCSI initiator and dependencies
250 1.64 tnn #scsibus* at scsi?
251 1.64 tnn #sd* at scsibus? target ? lun ?
252 1.64 tnn #pseudo-device iscsi
253 1.64 tnn
254 1.32 riz # userland interface to drivers, including autoconf and properties retrieval
255 1.32 riz pseudo-device drvctl
256 1.32 riz
257