XEN3_DOMU revision 1.17
11.17Snisimura# $NetBSD: XEN3_DOMU,v 1.17 2009/03/04 07:31:33 nisimura Exp $
21.2Sbouyer
31.2Sbouyerinclude 	"arch/amd64/conf/std.xen"
41.2Sbouyer
51.2Sbouyeroptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
61.2Sbouyer
71.2Sbouyer#options 	UVMHIST
81.2Sbouyer#options 	UVMHIST_PRINT
91.2Sbouyer#options 	SYSCALL_DEBUG
101.2Sbouyer
111.2Sbouyermaxusers	32		# estimated number of users
121.2Sbouyer
131.2Sbouyer#
141.2Sbouyeroptions 	MAXPHYS=32768   #xbd doesn't handle 64k transfers
151.2Sbouyer#options 	DOM0OPS
161.2Sbouyer
171.2Sbouyer#options 	VM86		# virtual 8086 emulation
181.2Sbouyer#options 	USER_LDT	# user-settable LDT; used by WINE
191.2Sbouyer
201.2Sbouyer#options 	MTRR		# memory-type range register syscall support
211.2Sbouyer
221.2Sbouyer#options 	CONSDEVNAME="\"xencons\""
231.2Sbouyer#options 	CONS_OVERRIDE
241.2Sbouyer
251.2Sbouyeroptions 	INSECURE	# disable kernel security levels - X needs this
261.2Sbouyer
271.2Sbouyeroptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
281.2Sbouyeroptions 	NTP		# NTP phase/frequency locked loop
291.2Sbouyer
301.2Sbouyeroptions 	KTRACE		# system call tracing via ktrace(1)
311.2Sbouyer
321.2Sbouyeroptions 	SYSVMSG		# System V-like message queues
331.2Sbouyeroptions 	SYSVSEM		# System V-like semaphores
341.2Sbouyeroptions 	SYSVSHM		# System V-like memory sharing
351.2Sbouyeroptions 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support
361.2Sbouyer
371.2Sbouyer
381.2Sbouyeroptions 	USERCONF	# userconf(4) support
391.2Sbouyeroptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
401.2Sbouyer
411.2Sbouyer# Diagnostic/debugging support options
421.2Sbouyeroptions 	DIAGNOSTIC	# expensive kernel consistency checks
431.2Sbouyeroptions 	DEBUG		# expensive debugging checks/support 
441.2Sbouyeroptions 	KMEMSTATS	# kernel memory statistics (vmstat -m)
451.2Sbouyeroptions 	DDB		# in-kernel debugger
461.2Sbouyeroptions 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
471.2Sbouyeroptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
481.2Sbouyer#options 	KGDB		# remote debugger
491.2Sbouyer#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
501.4Smarttimakeoptions 	DEBUG="-g"	# compile full symbol table
511.4Smarttimakeoptions 	COPTS="-O2 -fno-omit-frame-pointer"
521.2Sbouyeroptions DDB_COMMANDONENTER="trace;show registers"
531.2Sbouyer
541.2Sbouyer# Compatibility options
551.12Sjoergoptions 	COMPAT_15	# compatibility with NetBSD 1.5,
561.12Sjoergoptions 	COMPAT_16	# NetBSD 1.6,
571.12Sjoergoptions 	COMPAT_20	# NetBSD 2.0,
581.12Sjoergoptions 	COMPAT_30	# NetBSD 3.0,
591.12Sjoergoptions 	COMPAT_40	# NetBSD 4.0 compatibility.
601.12Sjoergoptions 	COMPAT_43	# and 4.3BSD
611.12Sjoerg#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
621.12Sjoerg
631.12Sjoergoptions 	COMPAT_OSSAUDIO
641.2Sbouyeroptions 	COMPAT_NETBSD32
651.12Sjoergoptions 	COMPAT_LINUX
661.12Sjoergoptions 	COMPAT_LINUX32	# req. COMPAT_LINUX and COMPAT_NETBSD32
671.2Sbouyeroptions 	EXEC_ELF32
681.2Sbouyeroptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
691.2Sbouyer
701.2Sbouyer# File systems
711.2Sbouyerfile-system 	FFS		# UFS
721.2Sbouyerfile-system 	EXT2FS		# second extended file system (linux)
731.2Sbouyerfile-system 	LFS		# log-structured file system
741.2Sbouyerfile-system 	MFS		# memory file system
751.2Sbouyerfile-system 	NFS		# Network File System client
761.2Sbouyerfile-system 	NTFS		# Windows/NT file system (experimental)
771.2Sbouyerfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
781.2Sbouyerfile-system 	MSDOSFS		# MS-DOS file system
791.2Sbouyerfile-system 	FDESC		# /dev/fd
801.2Sbouyerfile-system 	KERNFS		# /kern
811.2Sbouyerfile-system 	NULLFS		# loopback file system
821.2Sbouyerfile-system 	OVERLAY		# overlay file system
831.2Sbouyerfile-system 	PORTAL		# portal filesystem (still experimental)
841.2Sbouyerfile-system 	PROCFS		# /proc
851.2Sbouyerfile-system 	UMAPFS		# NULLFS + uid and gid remapping
861.2Sbouyerfile-system 	UNION		# union file system
871.2Sbouyerfile-system 	CODA		# Coda File System; also needs vcoda (below)
881.2Sbouyerfile-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
891.2Sbouyerfile-system 	PTYFS		# /dev/pts/N support
901.2Sbouyerfile-system 	TMPFS		# Efficient memory file-system
911.2Sbouyer
921.2Sbouyer# File system options
931.2Sbouyeroptions 	QUOTA		# UFS quotas
941.2Sbouyer#options 	FFS_EI		# FFS Endian Independent support
951.10Sceggeroptions		WAPBL		# File system journaling support - Experimental
961.2Sbouyer#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
971.2Sbouyeroptions 	NFSSERVER	# Network File System server
981.2Sbouyer#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
991.2Sbouyer#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1001.2Sbouyer				# immutable) behave as system flags.
1011.2Sbouyer
1021.2Sbouyer# Networking options
1031.2Sbouyer#options 	GATEWAY		# packet forwarding
1041.2Sbouyeroptions 	INET		# IP + ICMP + TCP + UDP
1051.2Sbouyeroptions 	INET6		# IPV6
1061.2Sbouyer#options 	IPSEC		# IP security
1071.2Sbouyer#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1081.2Sbouyer#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1091.2Sbouyer#options 	IPSEC_DEBUG	# debug for IP security
1101.2Sbouyer#options 	MROUTING	# IP multicast routing
1111.2Sbouyer#options 	PIM		# Protocol Independent Multicast
1121.9Sad#options 	ISO,TPIP	# OSI
1131.2Sbouyer#options 	EON		# OSI tunneling over IP
1141.2Sbouyeroptions 	NETATALK	# AppleTalk networking protocols
1151.2Sbouyeroptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1161.2Sbouyeroptions 	PPP_DEFLATE	# Deflate compression support for PPP
1171.2Sbouyeroptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1181.2Sbouyeroptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1191.2Sbouyeroptions 	IPFILTER_LOG	# ipmon(8) log support
1201.2Sbouyeroptions 	IPFILTER_LOOKUP	# ippool(8) support
1211.2Sbouyer#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1221.2Sbouyer#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1231.2Sbouyer
1241.2Sbouyer#options 	ALTQ		# Manipulate network interfaces' output queues
1251.2Sbouyer#options 	ALTQ_BLUE	# Stochastic Fair Blue
1261.2Sbouyer#options 	ALTQ_CBQ	# Class-Based Queueing
1271.2Sbouyer#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1281.2Sbouyer#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1291.2Sbouyer#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1301.2Sbouyer#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1311.2Sbouyer#options 	ALTQ_LOCALQ	# Local queueing discipline
1321.2Sbouyer#options 	ALTQ_PRIQ	# Priority Queueing
1331.2Sbouyer#options 	ALTQ_RED	# Random Early Detection
1341.2Sbouyer#options 	ALTQ_RIO	# RED with IN/OUT
1351.2Sbouyer#options 	ALTQ_WFQ	# Weighted Fair Queueing
1361.2Sbouyer
1371.17Snisimuraoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1381.17Snisimura#options 	NFS_BOOT_BOOTSTATIC
1391.2Sbouyer#options 	NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
1401.2Sbouyer#options 	NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
1411.2Sbouyer#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
1421.2Sbouyer#options 	NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
1431.2Sbouyer#options 	NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
1441.2Sbouyer
1451.2Sbouyerconfig		netbsd	root on ? type ?
1461.2Sbouyer#config		netbsd	root on wd0a type ffs
1471.2Sbouyer#config		netbsd	root on xennet0 type nfs
1481.2Sbouyer
1491.2Sbouyermainbus0 at root
1501.2Sbouyer
1511.2Sbouyerhypervisor*	at mainbus?		# Xen hypervisor
1521.2Sbouyer
1531.2Sbouyervcpu*		at hypervisor?		# Xen virtual CPUs
1541.2Sbouyerxenbus*		at hypervisor?		# Xen virtual bus
1551.2Sbouyerxennet*		at xenbus?		# Xen virtual network interface
1561.2Sbouyerxbd*		at xenbus?		# Xen virtual block device
1571.2Sbouyer
1581.2Sbouyerxencons*	at hypervisor?		# Xen virtual console
1591.2Sbouyer
1601.16Sbouyer# PCI pass-through support: 
1611.16Sbouyer#xpci* at xenbus ?			#Xen3 PCI front end driver
1621.16Sbouyer#pci* at xpci ?
1631.16Sbouyer# you then need to add your PCI devices drivers below.
1641.16Sbouyer
1651.6Sjmmvcinclude "arch/amd64/conf/GENERIC.local"
1661.2Sbouyer
1671.2Sbouyer# Pseudo-Devices
1681.2Sbouyer
1691.13Scegger#
1701.13Scegger# accept filters
1711.13Sceggerpseudo-device	accf_data	# "dataready" accept filter
1721.13Sceggerpseudo-device	accf_http	# "httpready" accept filter
1731.13Scegger
1741.2Sbouyerpseudo-device 	crypto		# /dev/crypto device
1751.2Sbouyerpseudo-device	swcrypto	# software crypto implementation
1761.2Sbouyer
1771.2Sbouyer# disk/mass storage pseudo-devices
1781.2Sbouyerpseudo-device	ccd		4	# concatenated/striped disk devices
1791.2Sbouyer#pseudo-device	cgd		4	# cryptographic disk devices
1801.2Sbouyerpseudo-device	raid		8	# RAIDframe disk driver
1811.2Sbouyeroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
1821.2Sbouyer# Options to enable various other RAIDframe RAID types.
1831.2Sbouyer#options 	RF_INCLUDE_EVENODD=1
1841.2Sbouyer#options 	RF_INCLUDE_RAID5_RS=1
1851.2Sbouyer#options 	RF_INCLUDE_PARITYLOGGING=1
1861.2Sbouyer#options 	RF_INCLUDE_CHAINDECLUSTER=1
1871.2Sbouyer#options 	RF_INCLUDE_INTERDECLUSTER=1
1881.2Sbouyer#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
1891.2Sbouyer#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
1901.2Sbouyerpseudo-device	fss		4	# file system snapshot device
1911.2Sbouyer
1921.2Sbouyerpseudo-device	md		1	# memory disk device (ramdisk)
1931.2Sbouyerpseudo-device	vnd			# disk-like interface to files
1941.2Sbouyer
1951.2Sbouyer# network pseudo-devices
1961.2Sbouyerpseudo-device	bpfilter		# Berkeley packet filter
1971.2Sbouyerpseudo-device	ipfilter		# IP filter (firewall) and NAT
1981.2Sbouyerpseudo-device	loop			# network loopback
1991.2Sbouyerpseudo-device	ppp			# Point-to-Point Protocol
2001.2Sbouyerpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2011.2Sbouyerpseudo-device	sl			# Serial Line IP
2021.2Sbouyerpseudo-device	tap			# virtual Ethernet
2031.2Sbouyerpseudo-device	tun			# network tunneling over tty
2041.2Sbouyerpseudo-device	gre			# generic L3 over IP tunnel
2051.2Sbouyerpseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2061.2Sbouyer#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2071.2Sbouyerpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2081.2Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2091.2Sbouyerpseudo-device	bridge			# simple inter-network bridging
2101.2Sbouyer#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2111.2Sbouyer#pseudo-device	pf			# PF packet filter
2121.2Sbouyer#pseudo-device	pflog			# PF log if
2131.2Sbouyer
2141.2Sbouyer# miscellaneous pseudo-devices
2151.2Sbouyerpseudo-device	pty			# pseudo-terminals
2161.2Sbouyerpseudo-device	rnd			# /dev/random and in-kernel generator
2171.2Sbouyerpseudo-device	clockctl		# user control of clock subsystem
2181.2Sbouyerpseudo-device	ksyms			# /dev/ksyms
2191.2Sbouyer
2201.2Sbouyer# a pseudo device needed for Coda	# also needs CODA (above)
2211.2Sbouyerpseudo-device	vcoda		4	# coda minicache <-> venus comm.
2221.2Sbouyer
2231.2Sbouyer# a pseudo device needed for SMBFS
2241.2Sbouyerpseudo-device	nsmb			# experimental - SMB requester
225