XEN3_DOMU revision 1.81
11.81Schristos# $NetBSD: XEN3_DOMU,v 1.81 2018/01/09 03:31:12 christos Exp $
21.2Sbouyer
31.2Sbouyerinclude 	"arch/amd64/conf/std.xen"
41.2Sbouyer
51.67Sdhollandoptions 	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.81Schristos#ident		"XEN3_DOMU-$Revision: 1.81 $"
141.79Spgoyette
151.2Sbouyermaxusers	32		# estimated number of users
161.2Sbouyer
171.2Sbouyer#
181.43Sbouyeroptions 	MAXPHYS=32768	#xbd doesn't handle 64k transfers
191.2Sbouyer#options 	DOM0OPS
201.2Sbouyer
211.2Sbouyer#options 	USER_LDT	# user-settable LDT; used by WINE
221.2Sbouyer
231.2Sbouyer#options 	MTRR		# memory-type range register syscall support
241.2Sbouyer
251.2Sbouyer#options 	CONSDEVNAME="\"xencons\""
261.2Sbouyer#options 	CONS_OVERRIDE
271.2Sbouyer
281.2Sbouyeroptions 	INSECURE	# disable kernel security levels - X needs this
291.2Sbouyer
301.2Sbouyeroptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
311.2Sbouyeroptions 	NTP		# NTP phase/frequency locked loop
321.2Sbouyer
331.2Sbouyeroptions 	KTRACE		# system call tracing via ktrace(1)
341.2Sbouyer
351.2Sbouyeroptions 	SYSVMSG		# System V-like message queues
361.2Sbouyeroptions 	SYSVSEM		# System V-like semaphores
371.2Sbouyeroptions 	SYSVSHM		# System V-like memory sharing
381.2Sbouyer
391.66Smaxvoptions 	MODULAR		# new style module(7) framework
401.2Sbouyeroptions 	USERCONF	# userconf(4) support
411.2Sbouyeroptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
421.2Sbouyer
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.37Sbouyer#makeoptions	DEBUG="-g"	# compile full symbol table
551.30Sryomakeoptions	COPTS="-O2 -fno-omit-frame-pointer"
561.2Sbouyeroptions DDB_COMMANDONENTER="trace;show registers"
571.2Sbouyer
581.2Sbouyer# Compatibility options
591.78Smrginclude 	"conf/compat_netbsd15.config"
601.12Sjoerg#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
611.12Sjoerg
621.12Sjoergoptions 	COMPAT_OSSAUDIO
631.2Sbouyeroptions 	COMPAT_NETBSD32
641.12Sjoergoptions 	COMPAT_LINUX
651.12Sjoergoptions 	COMPAT_LINUX32	# req. COMPAT_LINUX and COMPAT_NETBSD32
661.2Sbouyeroptions 	EXEC_ELF32
671.2Sbouyer
681.46Sriz# Wedge support
691.46Srizoptions 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
701.46Srizoptions 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
711.58Schristos#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
721.58Schristos#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
731.68Sryooptions 	DKWEDGE_METHOD_APPLE	# Support Apple partitions as wedges
741.73Srin#options 	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
751.46Sriz
761.2Sbouyer# File systems
771.68Sryofile-system	FFS		# UFS
781.68Sryofile-system	EXT2FS		# second extended file system (linux)
791.68Sryofile-system	LFS		# log-structured file system
801.68Sryofile-system	MFS		# memory file system
811.68Sryofile-system	NFS		# Network File System client
821.68Sryofile-system	NTFS		# Windows/NT file system (experimental)
831.68Sryofile-system	CD9660		# ISO 9660 + Rock Ridge file system
841.68Sryofile-system	MSDOSFS		# MS-DOS file system
851.68Sryofile-system	FDESC		# /dev/fd
861.68Sryofile-system	KERNFS		# /kern
871.68Sryofile-system	NULLFS		# loopback file system
881.68Sryofile-system	OVERLAY		# overlay file system
891.20Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
901.68Sryofile-system	PROCFS		# /proc
911.68Sryofile-system	UMAPFS		# NULLFS + uid and gid remapping
921.68Sryofile-system	UNION		# union file system
931.68Sryofile-system	CODA		# Coda File System; also needs vcoda (below)
941.68Sryofile-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
951.68Sryofile-system	PTYFS		# /dev/pts/N support
961.68Sryofile-system	TMPFS		# Efficient memory file-system
971.81Schristos#file-system	AUTOFS		# Automounter Filesystem
981.2Sbouyer
991.2Sbouyer# File system options
1001.27Sbouyeroptions 	QUOTA		# legacy UFS quotas
1011.27Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1021.80Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
1031.2Sbouyer#options 	FFS_EI		# FFS Endian Independent support
1041.34Sdhollandoptions 	WAPBL		# File system journaling support
1051.2Sbouyer#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1061.2Sbouyeroptions 	NFSSERVER	# Network File System server
1071.2Sbouyer#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1081.59Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
1091.2Sbouyer#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1101.2Sbouyer				# immutable) behave as system flags.
1111.2Sbouyer
1121.2Sbouyer# Networking options
1131.2Sbouyer#options 	GATEWAY		# packet forwarding
1141.2Sbouyeroptions 	INET		# IP + ICMP + TCP + UDP
1151.2Sbouyeroptions 	INET6		# IPV6
1161.62Sbouyeroptions 	IPSEC		# IP security
1171.2Sbouyer#options 	IPSEC_DEBUG	# debug for IP security
1181.2Sbouyer#options 	MROUTING	# IP multicast routing
1191.2Sbouyer#options 	PIM		# Protocol Independent Multicast
1201.2Sbouyeroptions 	NETATALK	# AppleTalk networking protocols
1211.2Sbouyeroptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1221.2Sbouyeroptions 	PPP_DEFLATE	# Deflate compression support for PPP
1231.2Sbouyeroptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1241.2Sbouyeroptions 	IPFILTER_LOG	# ipmon(8) log support
1251.2Sbouyeroptions 	IPFILTER_LOOKUP	# ippool(8) support
1261.23Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
1271.2Sbouyer#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1281.2Sbouyer#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1291.2Sbouyer
1301.2Sbouyer#options 	ALTQ		# Manipulate network interfaces' output queues
1311.2Sbouyer#options 	ALTQ_BLUE	# Stochastic Fair Blue
1321.2Sbouyer#options 	ALTQ_CBQ	# Class-Based Queueing
1331.2Sbouyer#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1341.2Sbouyer#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1351.2Sbouyer#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1361.2Sbouyer#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1371.2Sbouyer#options 	ALTQ_LOCALQ	# Local queueing discipline
1381.2Sbouyer#options 	ALTQ_PRIQ	# Priority Queueing
1391.2Sbouyer#options 	ALTQ_RED	# Random Early Detection
1401.2Sbouyer#options 	ALTQ_RIO	# RED with IN/OUT
1411.2Sbouyer#options 	ALTQ_WFQ	# Weighted Fair Queueing
1421.2Sbouyer
1431.17Snisimuraoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1441.17Snisimura#options 	NFS_BOOT_BOOTSTATIC
1451.2Sbouyer#options 	NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
1461.2Sbouyer#options 	NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
1471.2Sbouyer#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
1481.2Sbouyer#options 	NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
1491.2Sbouyer#options 	NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
1501.2Sbouyer
1511.2Sbouyerconfig		netbsd	root on ? type ?
1521.2Sbouyer#config		netbsd	root on wd0a type ffs
1531.2Sbouyer#config		netbsd	root on xennet0 type nfs
1541.2Sbouyer
1551.2Sbouyermainbus0 at root
1561.2Sbouyer
1571.2Sbouyerhypervisor*	at mainbus?		# Xen hypervisor
1581.2Sbouyer
1591.2Sbouyervcpu*		at hypervisor?		# Xen virtual CPUs
1601.30Sryoxenbus* 	at hypervisor?		# Xen virtual bus
1611.30Sryoxennet* 	at xenbus?		# Xen virtual network interface
1621.2Sbouyerxbd*		at xenbus?		# Xen virtual block device
1631.29Sjymballoon*	at xenbus?		# Xen balloon device
1641.2Sbouyer
1651.2Sbouyerxencons*	at hypervisor?		# Xen virtual console
1661.2Sbouyer
1671.30Sryo# PCI pass-through support:
1681.52Sjakllsch#xpci* at xenbus ?			#Xen3 PCI front end driver
1691.52Sjakllsch#pci* at xpci ?
1701.16Sbouyer# you then need to add your PCI devices drivers below.
1711.16Sbouyer
1721.6Sjmmvcinclude "arch/amd64/conf/GENERIC.local"
1731.69Schristoscinclude "arch/amd64/conf/XEN3_DOMU.local"
1741.2Sbouyer
1751.2Sbouyer# Pseudo-Devices
1761.2Sbouyer
1771.13Scegger#
1781.13Scegger# accept filters
1791.13Sceggerpseudo-device	accf_data	# "dataready" accept filter
1801.13Sceggerpseudo-device	accf_http	# "httpready" accept filter
1811.13Scegger
1821.68Sryopseudo-device	crypto		# /dev/crypto device
1831.2Sbouyerpseudo-device	swcrypto	# software crypto implementation
1841.2Sbouyer
1851.2Sbouyer# disk/mass storage pseudo-devices
1861.47Schristospseudo-device	ccd			# concatenated/striped disk devices
1871.47Schristospseudo-device	cgd			# cryptographic disk devices
1881.48Schristospseudo-device	raid			# RAIDframe disk driver
1891.2Sbouyeroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
1901.2Sbouyer# Options to enable various other RAIDframe RAID types.
1911.2Sbouyer#options 	RF_INCLUDE_EVENODD=1
1921.2Sbouyer#options 	RF_INCLUDE_RAID5_RS=1
1931.2Sbouyer#options 	RF_INCLUDE_PARITYLOGGING=1
1941.2Sbouyer#options 	RF_INCLUDE_CHAINDECLUSTER=1
1951.2Sbouyer#options 	RF_INCLUDE_INTERDECLUSTER=1
1961.2Sbouyer#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
1971.2Sbouyer#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
1981.22Spookapseudo-device	fss			# file system snapshot device
1991.20Spookapseudo-device	putter			# for puffs and pud
2001.2Sbouyer
2011.26Shannkenpseudo-device	md			# memory disk device (ramdisk)
2021.2Sbouyerpseudo-device	vnd			# disk-like interface to files
2031.25Shaadpseudo-device	dm			# device-mapper driver for LVM
2041.2Sbouyer
2051.2Sbouyer# network pseudo-devices
2061.2Sbouyerpseudo-device	bpfilter		# Berkeley packet filter
2071.74Ssborrill#pseudo-device	carp			# Common Address Redundancy Protocol
2081.2Sbouyerpseudo-device	ipfilter		# IP filter (firewall) and NAT
2091.2Sbouyerpseudo-device	loop			# network loopback
2101.74Ssborrill#pseudo-device	mpls			# MPLS pseudo-interface
2111.2Sbouyerpseudo-device	ppp			# Point-to-Point Protocol
2121.2Sbouyerpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2131.2Sbouyerpseudo-device	sl			# Serial Line IP
2141.2Sbouyerpseudo-device	tap			# virtual Ethernet
2151.2Sbouyerpseudo-device	tun			# network tunneling over tty
2161.2Sbouyerpseudo-device	gre			# generic L3 over IP tunnel
2171.2Sbouyerpseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2181.2Sbouyer#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2191.2Sbouyerpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2201.2Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2211.2Sbouyerpseudo-device	bridge			# simple inter-network bridging
2221.2Sbouyer#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2231.2Sbouyer#pseudo-device	pf			# PF packet filter
2241.2Sbouyer#pseudo-device	pflog			# PF log if
2251.39Schs#pseudo-device	pfsync			# PF sync if
2261.39Schs#pseudo-device	npf			# NPF packet filter
2271.2Sbouyer
2281.65Schristosoptions 	PAX_MPROTECT=1		# PaX mprotect(2) restrictions
2291.65Schristosoptions 	PAX_ASLR=1		# PaX Address Space Layout Randomization
2301.21Sjym
2311.2Sbouyer# miscellaneous pseudo-devices
2321.2Sbouyerpseudo-device	pty			# pseudo-terminals
2331.2Sbouyerpseudo-device	clockctl		# user control of clock subsystem
2341.2Sbouyerpseudo-device	ksyms			# /dev/ksyms
2351.2Sbouyer
2361.2Sbouyer# a pseudo device needed for Coda	# also needs CODA (above)
2371.48Schristospseudo-device	vcoda			# coda minicache <-> venus comm.
2381.2Sbouyer
2391.2Sbouyer# a pseudo device needed for SMBFS
2401.2Sbouyerpseudo-device	nsmb			# experimental - SMB requester
2411.32Sriz
2421.64Stnn# iSCSI initiator and dependencies
2431.64Stnn#scsibus* at scsi?
2441.64Stnn#sd*	at scsibus? target ? lun ?
2451.64Stnn#pseudo-device	iscsi
2461.64Stnn
2471.32Sriz# userland interface to drivers, including autoconf and properties retrieval
2481.32Srizpseudo-device	drvctl
249