XEN3_DOMU revision 1.101
11.101Sriastrad# $NetBSD: XEN3_DOMU,v 1.101 2023/07/21 02:04:52 riastradh Exp $
21.2Sbouyer
31.2Sbouyerinclude 	"arch/amd64/conf/std.xen"
41.2Sbouyer
51.88Scherryoptions		XENPV		# PV domU support
61.67Sdhollandoptions 	MULTIPROCESSOR
71.35Scherry
81.2Sbouyeroptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.2Sbouyer
101.2Sbouyer#options 	UVMHIST
111.2Sbouyer#options 	UVMHIST_PRINT
121.2Sbouyer#options 	SYSCALL_DEBUG
131.2Sbouyer
141.101Sriastrad#ident		"XEN3_DOMU-$Revision: 1.101 $"
151.79Spgoyette
161.2Sbouyermaxusers	32		# estimated number of users
171.2Sbouyer
181.2Sbouyer#
191.2Sbouyer#options 	DOM0OPS
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.66Smaxvoptions 	MODULAR		# new style module(7) framework
381.2Sbouyeroptions 	USERCONF	# userconf(4) support
391.2Sbouyeroptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
401.2Sbouyer
411.83Ssevan# Alternate buffer queue strategies for better responsiveness under high
421.83Ssevan# disk I/O load.
431.31Sjakllsch#options 	BUFQ_READPRIO
441.31Sjakllschoptions 	BUFQ_PRIOCSCAN
451.31Sjakllsch
461.2Sbouyer# Diagnostic/debugging support options
471.54Sdhollandoptions 	DIAGNOSTIC	# inexpensive kernel consistency checks
481.37Sbouyer#options 	DEBUG		# expensive debugging checks/support
491.2Sbouyeroptions 	DDB		# in-kernel debugger
501.53Sszptvlfnoptions 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
511.2Sbouyeroptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
521.2Sbouyer#options 	KGDB		# remote debugger
531.2Sbouyer#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
541.93Sbouyer#makeoptions	DEBUG="-g"	# compile full symbol table
551.30Sryomakeoptions	COPTS="-O2 -fno-omit-frame-pointer"
561.85Sbouyeroptions DDB_COMMANDONENTER="trace;show registers"
571.101Sriastradoptions 	KDTRACE_HOOKS	# kernel DTrace hooks
581.2Sbouyer
591.2Sbouyer# Compatibility options
601.78Smrginclude 	"conf/compat_netbsd15.config"
611.12Sjoerg#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
621.12Sjoerg
631.2Sbouyeroptions 	COMPAT_NETBSD32
641.2Sbouyeroptions 	EXEC_ELF32
651.2Sbouyer
661.46Sriz# Wedge support
671.46Srizoptions 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
681.46Srizoptions 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
691.58Schristos#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
701.58Schristos#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
711.68Sryooptions 	DKWEDGE_METHOD_APPLE	# Support Apple partitions as wedges
721.73Srin#options 	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
731.46Sriz
741.2Sbouyer# File systems
751.89Ssevaninclude "conf/filesystems.config"
761.2Sbouyer
771.2Sbouyer# File system options
781.99Ssimonb# ffs
791.99Ssimonb#options 	FFS_EI		# FFS Endian Independent support
801.99Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
811.27Sbouyeroptions 	QUOTA		# legacy UFS quotas
821.27Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
831.98Sjdolecekoptions		UFS_ACL		# UFS Access Control Lists
841.99Ssimonboptions 	UFS_DIRHASH	# UFS Large Directory Hashing
851.59Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
861.99Ssimonboptions 	WAPBL		# File system journaling support
871.99Ssimonb# lfs
881.99Ssimonboptions 	LFS_DIRHASH	# LFS version of UFS_DIRHASH
891.99Ssimonb# ext2fs
901.2Sbouyer#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
911.2Sbouyer				# immutable) behave as system flags.
921.99Ssimonb# other
931.99Ssimonb#options 	DISKLABEL_EI	# disklabel Endian Independent support
941.99Ssimonboptions 	NFSSERVER	# Network File System server
951.2Sbouyer
961.2Sbouyer# Networking options
971.2Sbouyer#options 	GATEWAY		# packet forwarding
981.2Sbouyeroptions 	INET		# IP + ICMP + TCP + UDP
991.2Sbouyeroptions 	INET6		# IPV6
1001.62Sbouyeroptions 	IPSEC		# IP security
1011.2Sbouyer#options 	IPSEC_DEBUG	# debug for IP security
1021.2Sbouyer#options 	MROUTING	# IP multicast routing
1031.2Sbouyer#options 	PIM		# Protocol Independent Multicast
1041.2Sbouyeroptions 	NETATALK	# AppleTalk networking protocols
1051.2Sbouyeroptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1061.2Sbouyeroptions 	PPP_DEFLATE	# Deflate compression support for PPP
1071.2Sbouyeroptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1081.2Sbouyer#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1091.2Sbouyer
1101.2Sbouyer#options 	ALTQ		# Manipulate network interfaces' output queues
1111.2Sbouyer#options 	ALTQ_BLUE	# Stochastic Fair Blue
1121.2Sbouyer#options 	ALTQ_CBQ	# Class-Based Queueing
1131.2Sbouyer#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1141.2Sbouyer#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1151.2Sbouyer#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1161.2Sbouyer#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1171.2Sbouyer#options 	ALTQ_LOCALQ	# Local queueing discipline
1181.2Sbouyer#options 	ALTQ_PRIQ	# Priority Queueing
1191.2Sbouyer#options 	ALTQ_RED	# Random Early Detection
1201.2Sbouyer#options 	ALTQ_RIO	# RED with IN/OUT
1211.2Sbouyer#options 	ALTQ_WFQ	# Weighted Fair Queueing
1221.2Sbouyer
1231.17Snisimuraoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1241.17Snisimura#options 	NFS_BOOT_BOOTSTATIC
1251.2Sbouyer#options 	NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
1261.2Sbouyer#options 	NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
1271.2Sbouyer#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
1281.2Sbouyer#options 	NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
1291.2Sbouyer#options 	NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
1301.2Sbouyer
1311.2Sbouyerconfig		netbsd	root on ? type ?
1321.2Sbouyer#config		netbsd	root on wd0a type ffs
1331.2Sbouyer#config		netbsd	root on xennet0 type nfs
1341.2Sbouyer
1351.2Sbouyermainbus0 at root
1361.2Sbouyer
1371.2Sbouyerhypervisor*	at mainbus?		# Xen hypervisor
1381.2Sbouyer
1391.2Sbouyervcpu*		at hypervisor?		# Xen virtual CPUs
1401.30Sryoxenbus* 	at hypervisor?		# Xen virtual bus
1411.30Sryoxennet* 	at xenbus?		# Xen virtual network interface
1421.2Sbouyerxbd*		at xenbus?		# Xen virtual block device
1431.29Sjymballoon*	at xenbus?		# Xen balloon device
1441.2Sbouyer
1451.2Sbouyerxencons*	at hypervisor?		# Xen virtual console
1461.2Sbouyer
1471.30Sryo# PCI pass-through support:
1481.52Sjakllsch#xpci* at xenbus ?			#Xen3 PCI front end driver
1491.52Sjakllsch#pci* at xpci ?
1501.16Sbouyer# you then need to add your PCI devices drivers below.
1511.16Sbouyer
1521.2Sbouyer# Pseudo-Devices
1531.2Sbouyer
1541.13Scegger#
1551.13Scegger# accept filters
1561.13Sceggerpseudo-device	accf_data	# "dataready" accept filter
1571.13Sceggerpseudo-device	accf_http	# "httpready" accept filter
1581.13Scegger
1591.68Sryopseudo-device	crypto		# /dev/crypto device
1601.2Sbouyerpseudo-device	swcrypto	# software crypto implementation
1611.2Sbouyer
1621.2Sbouyer# disk/mass storage pseudo-devices
1631.47Schristospseudo-device	ccd			# concatenated/striped disk devices
1641.47Schristospseudo-device	cgd			# cryptographic disk devices
1651.48Schristospseudo-device	raid			# RAIDframe disk driver
1661.2Sbouyeroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
1671.2Sbouyer# Options to enable various other RAIDframe RAID types.
1681.2Sbouyer#options 	RF_INCLUDE_EVENODD=1
1691.2Sbouyer#options 	RF_INCLUDE_RAID5_RS=1
1701.2Sbouyer#options 	RF_INCLUDE_PARITYLOGGING=1
1711.2Sbouyer#options 	RF_INCLUDE_CHAINDECLUSTER=1
1721.2Sbouyer#options 	RF_INCLUDE_INTERDECLUSTER=1
1731.2Sbouyer#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
1741.2Sbouyer#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
1751.22Spookapseudo-device	fss			# file system snapshot device
1761.2Sbouyer
1771.26Shannkenpseudo-device	md			# memory disk device (ramdisk)
1781.2Sbouyerpseudo-device	vnd			# disk-like interface to files
1791.25Shaadpseudo-device	dm			# device-mapper driver for LVM
1801.2Sbouyer
1811.2Sbouyer# network pseudo-devices
1821.2Sbouyerpseudo-device	bpfilter		# Berkeley packet filter
1831.74Ssborrill#pseudo-device	carp			# Common Address Redundancy Protocol
1841.2Sbouyerpseudo-device	loop			# network loopback
1851.74Ssborrill#pseudo-device	mpls			# MPLS pseudo-interface
1861.2Sbouyerpseudo-device	ppp			# Point-to-Point Protocol
1871.2Sbouyerpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1881.2Sbouyerpseudo-device	sl			# Serial Line IP
1891.2Sbouyerpseudo-device	tap			# virtual Ethernet
1901.2Sbouyerpseudo-device	tun			# network tunneling over tty
1911.2Sbouyerpseudo-device	gre			# generic L3 over IP tunnel
1921.2Sbouyerpseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
1931.2Sbouyer#pseudo-device	faith			# IPv[46] tcp relay translation i/f
1941.2Sbouyerpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
1951.2Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
1961.2Sbouyerpseudo-device	bridge			# simple inter-network bridging
1971.96Sroypseudo-device	vether			# Virtual Ethernet for bridge
1981.87Smaxvpseudo-device	l2tp			# L2TPv3 interface
1991.86Smaxvpseudo-device	npf			# NPF packet filter
2001.2Sbouyer
2011.65Schristosoptions 	PAX_MPROTECT=1		# PaX mprotect(2) restrictions
2021.65Schristosoptions 	PAX_ASLR=1		# PaX Address Space Layout Randomization
2031.21Sjym
2041.2Sbouyer# miscellaneous pseudo-devices
2051.2Sbouyerpseudo-device	pty			# pseudo-terminals
2061.2Sbouyerpseudo-device	clockctl		# user control of clock subsystem
2071.2Sbouyerpseudo-device	ksyms			# /dev/ksyms
2081.2Sbouyer
2091.64Stnn# iSCSI initiator and dependencies
2101.64Stnn#scsibus* at scsi?
2111.64Stnn#sd*	at scsibus? target ? lun ?
2121.64Stnn#pseudo-device	iscsi
2131.64Stnn
2141.32Sriz# userland interface to drivers, including autoconf and properties retrieval
2151.32Srizpseudo-device	drvctl
2161.100Sabs
2171.100Sabs# Pull in optional local configuration - always at end
2181.100Sabscinclude	"arch/amd64/conf/GENERIC.local"
2191.100Sabscinclude	"arch/amd64/conf/XEN3_DOMU.local"
220