XEN3_DOMU revision 1.61
11.61Spgoyette# $NetBSD: XEN3_DOMU,v 1.61 2015/05/05 22:14:24 pgoyette Exp $
21.2Sbouyer
31.2Sbouyerinclude 	"arch/amd64/conf/std.xen"
41.2Sbouyer
51.36Scherryoptions		MULTIPROCESSOR
61.35Scherry
71.2Sbouyeroptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
81.2Sbouyer
91.2Sbouyer#options 	UVMHIST
101.2Sbouyer#options 	UVMHIST_PRINT
111.2Sbouyer#options 	SYSCALL_DEBUG
121.2Sbouyer
131.2Sbouyermaxusers	32		# estimated number of users
141.2Sbouyer
151.2Sbouyer#
161.43Sbouyeroptions 	MAXPHYS=32768	#xbd doesn't handle 64k transfers
171.2Sbouyer#options 	DOM0OPS
181.2Sbouyer
191.2Sbouyer#options 	USER_LDT	# user-settable LDT; used by WINE
201.2Sbouyer
211.2Sbouyer#options 	MTRR		# memory-type range register syscall support
221.2Sbouyer
231.2Sbouyer#options 	CONSDEVNAME="\"xencons\""
241.2Sbouyer#options 	CONS_OVERRIDE
251.2Sbouyer
261.2Sbouyeroptions 	INSECURE	# disable kernel security levels - X needs this
271.2Sbouyer
281.2Sbouyeroptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
291.2Sbouyeroptions 	NTP		# NTP phase/frequency locked loop
301.2Sbouyer
311.2Sbouyeroptions 	KTRACE		# system call tracing via ktrace(1)
321.2Sbouyer
331.2Sbouyeroptions 	SYSVMSG		# System V-like message queues
341.2Sbouyeroptions 	SYSVSEM		# System V-like semaphores
351.2Sbouyeroptions 	SYSVSHM		# System V-like memory sharing
361.2Sbouyer
371.2Sbouyeroptions 	USERCONF	# userconf(4) support
381.2Sbouyeroptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
391.2Sbouyer
401.31Sjakllsch#options 	BUFQ_READPRIO
411.31Sjakllschoptions 	BUFQ_PRIOCSCAN
421.31Sjakllsch
431.2Sbouyer# Diagnostic/debugging support options
441.54Sdhollandoptions 	DIAGNOSTIC	# inexpensive kernel consistency checks
451.37Sbouyer#options 	DEBUG		# expensive debugging checks/support
461.2Sbouyeroptions 	KMEMSTATS	# kernel memory statistics (vmstat -m)
471.2Sbouyeroptions 	DDB		# in-kernel debugger
481.53Sszptvlfnoptions 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
491.2Sbouyeroptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
501.2Sbouyer#options 	KGDB		# remote debugger
511.2Sbouyer#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
521.37Sbouyer#makeoptions	DEBUG="-g"	# compile full symbol table
531.30Sryomakeoptions	COPTS="-O2 -fno-omit-frame-pointer"
541.2Sbouyeroptions DDB_COMMANDONENTER="trace;show registers"
551.2Sbouyer
561.2Sbouyer# Compatibility options
571.57Sdhollandoptions 	COMPAT_43	# 4.3BSD binary compatibility.
581.57Sdhollandoptions 	COMPAT_15	# NetBSD 1.5,
591.12Sjoergoptions 	COMPAT_16	# NetBSD 1.6,
601.12Sjoergoptions 	COMPAT_20	# NetBSD 2.0,
611.12Sjoergoptions 	COMPAT_30	# NetBSD 3.0,
621.57Sdhollandoptions 	COMPAT_40	# NetBSD 4.0,
631.57Sdhollandoptions 	COMPAT_50	# NetBSD 5.0,
641.57Sdhollandoptions 	COMPAT_60	# NetBSD 6.0, and
651.57Sdhollandoptions 	COMPAT_70	# NetBSD 7.0 binary compatibility.
661.12Sjoerg#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
671.12Sjoerg
681.12Sjoergoptions 	COMPAT_OSSAUDIO
691.2Sbouyeroptions 	COMPAT_NETBSD32
701.12Sjoergoptions 	COMPAT_LINUX
711.12Sjoergoptions 	COMPAT_LINUX32	# req. COMPAT_LINUX and COMPAT_NETBSD32
721.2Sbouyeroptions 	EXEC_ELF32
731.2Sbouyeroptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
741.2Sbouyer
751.46Sriz# Wedge support
761.46Srizoptions 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
771.46Srizoptions 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
781.58Schristos#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
791.58Schristos#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
801.56Schristosoptions		DKWEDGE_METHOD_APPLE    # Support Apple partitions as wedges
811.46Sriz
821.2Sbouyer# File systems
831.2Sbouyerfile-system 	FFS		# UFS
841.2Sbouyerfile-system 	EXT2FS		# second extended file system (linux)
851.2Sbouyerfile-system 	LFS		# log-structured file system
861.2Sbouyerfile-system 	MFS		# memory file system
871.2Sbouyerfile-system 	NFS		# Network File System client
881.2Sbouyerfile-system 	NTFS		# Windows/NT file system (experimental)
891.2Sbouyerfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
901.2Sbouyerfile-system 	MSDOSFS		# MS-DOS file system
911.2Sbouyerfile-system 	FDESC		# /dev/fd
921.2Sbouyerfile-system 	KERNFS		# /kern
931.2Sbouyerfile-system 	NULLFS		# loopback file system
941.2Sbouyerfile-system 	OVERLAY		# overlay file system
951.20Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
961.2Sbouyerfile-system 	PROCFS		# /proc
971.2Sbouyerfile-system 	UMAPFS		# NULLFS + uid and gid remapping
981.2Sbouyerfile-system 	UNION		# union file system
991.2Sbouyerfile-system 	CODA		# Coda File System; also needs vcoda (below)
1001.2Sbouyerfile-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
1011.2Sbouyerfile-system 	PTYFS		# /dev/pts/N support
1021.2Sbouyerfile-system 	TMPFS		# Efficient memory file-system
1031.2Sbouyer
1041.2Sbouyer# File system options
1051.27Sbouyeroptions 	QUOTA		# legacy UFS quotas
1061.27Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1071.2Sbouyer#options 	FFS_EI		# FFS Endian Independent support
1081.34Sdhollandoptions 	WAPBL		# File system journaling support
1091.2Sbouyer#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1101.2Sbouyeroptions 	NFSSERVER	# Network File System server
1111.2Sbouyer#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1121.59Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
1131.2Sbouyer#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1141.2Sbouyer				# immutable) behave as system flags.
1151.2Sbouyer
1161.2Sbouyer# Networking options
1171.2Sbouyer#options 	GATEWAY		# packet forwarding
1181.2Sbouyeroptions 	INET		# IP + ICMP + TCP + UDP
1191.2Sbouyeroptions 	INET6		# IPV6
1201.2Sbouyer#options 	IPSEC		# IP security
1211.2Sbouyer#options 	IPSEC_DEBUG	# debug for IP security
1221.2Sbouyer#options 	MROUTING	# IP multicast routing
1231.2Sbouyer#options 	PIM		# Protocol Independent Multicast
1241.2Sbouyeroptions 	NETATALK	# AppleTalk networking protocols
1251.2Sbouyeroptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1261.2Sbouyeroptions 	PPP_DEFLATE	# Deflate compression support for PPP
1271.2Sbouyeroptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1281.2Sbouyeroptions 	IPFILTER_LOG	# ipmon(8) log support
1291.2Sbouyeroptions 	IPFILTER_LOOKUP	# ippool(8) support
1301.23Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
1311.2Sbouyer#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1321.2Sbouyer#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1331.2Sbouyer
1341.2Sbouyer#options 	ALTQ		# Manipulate network interfaces' output queues
1351.2Sbouyer#options 	ALTQ_BLUE	# Stochastic Fair Blue
1361.2Sbouyer#options 	ALTQ_CBQ	# Class-Based Queueing
1371.2Sbouyer#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1381.2Sbouyer#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1391.2Sbouyer#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1401.2Sbouyer#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1411.2Sbouyer#options 	ALTQ_LOCALQ	# Local queueing discipline
1421.2Sbouyer#options 	ALTQ_PRIQ	# Priority Queueing
1431.2Sbouyer#options 	ALTQ_RED	# Random Early Detection
1441.2Sbouyer#options 	ALTQ_RIO	# RED with IN/OUT
1451.2Sbouyer#options 	ALTQ_WFQ	# Weighted Fair Queueing
1461.2Sbouyer
1471.61Spgoyette# pseudo-device support for sysmon and its sub-components
1481.61Spgoyetteoptions 	SYSMON_POWER
1491.61Spgoyetteoptions 	SYSMON_ENVSYS
1501.61Spgoyetteoptions 	SYSMON_WDOG
1511.61Spgoyetteoptions 	SYSMON_TASKQ
1521.61Spgoyette
1531.17Snisimuraoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1541.17Snisimura#options 	NFS_BOOT_BOOTSTATIC
1551.2Sbouyer#options 	NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
1561.2Sbouyer#options 	NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
1571.2Sbouyer#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
1581.2Sbouyer#options 	NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
1591.2Sbouyer#options 	NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
1601.2Sbouyer
1611.2Sbouyerconfig		netbsd	root on ? type ?
1621.2Sbouyer#config		netbsd	root on wd0a type ffs
1631.2Sbouyer#config		netbsd	root on xennet0 type nfs
1641.2Sbouyer
1651.2Sbouyermainbus0 at root
1661.2Sbouyer
1671.2Sbouyerhypervisor*	at mainbus?		# Xen hypervisor
1681.2Sbouyer
1691.2Sbouyervcpu*		at hypervisor?		# Xen virtual CPUs
1701.30Sryoxenbus* 	at hypervisor?		# Xen virtual bus
1711.30Sryoxennet* 	at xenbus?		# Xen virtual network interface
1721.2Sbouyerxbd*		at xenbus?		# Xen virtual block device
1731.29Sjymballoon*	at xenbus?		# Xen balloon device
1741.2Sbouyer
1751.2Sbouyerxencons*	at hypervisor?		# Xen virtual console
1761.2Sbouyer
1771.30Sryo# PCI pass-through support:
1781.52Sjakllsch#xpci* at xenbus ?			#Xen3 PCI front end driver
1791.52Sjakllsch#pci* at xpci ?
1801.16Sbouyer# you then need to add your PCI devices drivers below.
1811.16Sbouyer
1821.6Sjmmvcinclude "arch/amd64/conf/GENERIC.local"
1831.2Sbouyer
1841.2Sbouyer# Pseudo-Devices
1851.2Sbouyer
1861.13Scegger#
1871.13Scegger# accept filters
1881.13Sceggerpseudo-device	accf_data	# "dataready" accept filter
1891.13Sceggerpseudo-device	accf_http	# "httpready" accept filter
1901.13Scegger
1911.2Sbouyerpseudo-device 	crypto		# /dev/crypto device
1921.2Sbouyerpseudo-device	swcrypto	# software crypto implementation
1931.2Sbouyer
1941.2Sbouyer# disk/mass storage pseudo-devices
1951.47Schristospseudo-device	ccd			# concatenated/striped disk devices
1961.47Schristospseudo-device	cgd			# cryptographic disk devices
1971.48Schristospseudo-device	raid			# RAIDframe disk driver
1981.2Sbouyeroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
1991.2Sbouyer# Options to enable various other RAIDframe RAID types.
2001.2Sbouyer#options 	RF_INCLUDE_EVENODD=1
2011.2Sbouyer#options 	RF_INCLUDE_RAID5_RS=1
2021.2Sbouyer#options 	RF_INCLUDE_PARITYLOGGING=1
2031.2Sbouyer#options 	RF_INCLUDE_CHAINDECLUSTER=1
2041.2Sbouyer#options 	RF_INCLUDE_INTERDECLUSTER=1
2051.2Sbouyer#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2061.2Sbouyer#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2071.22Spookapseudo-device	fss			# file system snapshot device
2081.20Spookapseudo-device	putter			# for puffs and pud
2091.2Sbouyer
2101.26Shannkenpseudo-device	md			# memory disk device (ramdisk)
2111.2Sbouyerpseudo-device	vnd			# disk-like interface to files
2121.25Shaadpseudo-device	dm			# device-mapper driver for LVM
2131.2Sbouyer
2141.2Sbouyer# network pseudo-devices
2151.2Sbouyerpseudo-device	bpfilter		# Berkeley packet filter
2161.2Sbouyerpseudo-device	ipfilter		# IP filter (firewall) and NAT
2171.2Sbouyerpseudo-device	loop			# network loopback
2181.2Sbouyerpseudo-device	ppp			# Point-to-Point Protocol
2191.2Sbouyerpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2201.2Sbouyerpseudo-device	sl			# Serial Line IP
2211.2Sbouyerpseudo-device	tap			# virtual Ethernet
2221.2Sbouyerpseudo-device	tun			# network tunneling over tty
2231.2Sbouyerpseudo-device	gre			# generic L3 over IP tunnel
2241.2Sbouyerpseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2251.2Sbouyer#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2261.2Sbouyerpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2271.2Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2281.2Sbouyerpseudo-device	bridge			# simple inter-network bridging
2291.2Sbouyer#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2301.2Sbouyer#pseudo-device	pf			# PF packet filter
2311.2Sbouyer#pseudo-device	pflog			# PF log if
2321.39Schs#pseudo-device	pfsync			# PF sync if
2331.39Schs#pseudo-device	npf			# NPF packet filter
2341.2Sbouyer
2351.21Sjymoptions 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
2361.21Sjymoptions 	PAX_ASLR=0		# PaX Address Space Layout Randomization
2371.21Sjym
2381.2Sbouyer# miscellaneous pseudo-devices
2391.2Sbouyerpseudo-device	pty			# pseudo-terminals
2401.2Sbouyerpseudo-device	clockctl		# user control of clock subsystem
2411.2Sbouyerpseudo-device	ksyms			# /dev/ksyms
2421.2Sbouyer
2431.2Sbouyer# a pseudo device needed for Coda	# also needs CODA (above)
2441.48Schristospseudo-device	vcoda			# coda minicache <-> venus comm.
2451.2Sbouyer
2461.2Sbouyer# a pseudo device needed for SMBFS
2471.2Sbouyerpseudo-device	nsmb			# experimental - SMB requester
2481.32Sriz
2491.32Sriz# userland interface to drivers, including autoconf and properties retrieval
2501.32Srizpseudo-device	drvctl
2511.32Sriz
252