INSTALL_XEN3_DOMU revision 1.2
11.2Sbouyer# $NetBSD: INSTALL_XEN3_DOMU,v 1.2 2007/11/22 16:16:43 bouyer Exp $
21.2Sbouyer
31.2Sbouyerinclude 	"arch/amd64/conf/std.xen"
41.2Sbouyer
51.2Sbouyeroptions 	MAXPHYS=32768   #xbd doesn't handle 64k transfers
61.2Sbouyer
71.2Sbouyer
81.2Sbouyer#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.2Sbouyer
101.2Sbouyer# Enable the hooks used for initializing the root memory-disk.
111.2Sbouyeroptions 	MEMORY_DISK_HOOKS
121.2Sbouyeroptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
131.2Sbouyeroptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
141.2Sbouyeroptions 	MEMORY_DISK_ROOT_SIZE=10000	# size of memory disk, in blocks
151.2Sbouyer
161.2Sbouyermaxusers	32		# estimated number of users
171.2Sbouyer
181.2Sbouyer# CPU-related options.
191.2Sbouyer#options 	MATH_EMULATE	# floating point emulation
201.2Sbouyer#options 	VM86		# virtual 8086 emulation
211.2Sbouyer#options 	USER_LDT	# user-settable LDT; used by WINE
221.2Sbouyer
231.2Sbouyer# Standard system options
241.2Sbouyer
251.2Sbouyeroptions 	INSECURE	# disable kernel security levels
261.2Sbouyer
271.2Sbouyeroptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
281.2Sbouyer#options 	NTP		# NTP phase/frequency locked loop
291.2Sbouyer
301.2Sbouyer#options 	KTRACE		# system call tracing via ktrace(1)
311.2Sbouyer
321.2Sbouyer#options 	SYSVMSG		# System V-like message queues
331.2Sbouyer#options 	SYSVSEM		# System V-like semaphores
341.2Sbouyer#options 	SYSVSHM		# System V-like memory sharing
351.2Sbouyer#options 	SHMMAXPGS=2048	# 2048 pages is the default
361.2Sbouyer
371.2Sbouyer#options 	LKM		# loadable kernel modules
381.2Sbouyer
391.2Sbouyeroptions 	USERCONF	# userconf(4) support
401.2Sbouyeroptions 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
411.2Sbouyer#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
421.2Sbouyer
431.2Sbouyer# Diagnostic/debugging support options
441.2Sbouyeroptions 	DIAGNOSTIC	# expensive kernel consistency checks
451.2Sbouyeroptions 	DEBUG		# expensive debugging checks/support
461.2Sbouyer#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
471.2Sbouyeroptions 	DDB		# in-kernel debugger
481.2Sbouyer#options 	DDB_ONPANIC=1	# see also sysctl(8): `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=0x3f8,KGDB_DEVRATE=9600
521.2Sbouyermakeoptions	DEBUG="-g"	# compile full symbol table
531.2Sbouyermakeoptions	COPTS="-O2 -fno-omit-frame-pointer"
541.2Sbouyeroptions DDB_COMMANDONENTER="trace;show registers"
551.2Sbouyer
561.2Sbouyer
571.2Sbouyer# Compatibility options
581.2Sbouyeroptions 	COMPAT_40	# NetBSD 4.0
591.2Sbouyer
601.2Sbouyer#options 	COMPAT_SVR4	# binary compatibility with SVR4
611.2Sbouyer#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
621.2Sbouyer#options 	COMPAT_LINUX	# binary compatibility with Linux
631.2Sbouyer#options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
641.2Sbouyeroptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
651.2Sbouyer
661.2Sbouyer# File systems
671.2Sbouyerfile-system 	FFS		# UFS
681.2Sbouyerfile-system 	EXT2FS		# second extended file system (linux)
691.2Sbouyer#file-system 	LFS		# log-structured file system
701.2Sbouyerfile-system 	MFS		# memory file system
711.2Sbouyerfile-system 	NFS		# Network File System client
721.2Sbouyerfile-system 	NTFS		# Windows/NT Filesystem
731.2Sbouyerfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
741.2Sbouyerfile-system 	MSDOSFS		# MS-DOS file system
751.2Sbouyer#file-system 	FDESC		# /dev/fd
761.2Sbouyerfile-system 	KERNFS		# /kern
771.2Sbouyer#file-system 	NULLFS		# loopback file system
781.2Sbouyer#file-system 	PORTAL		# portal filesystem (still experimental)
791.2Sbouyer#file-system 	PROCFS		# /proc
801.2Sbouyer#file-system 	UMAPFS		# NULLFS + uid and gid remapping
811.2Sbouyer#file-system 	UNION		# union file system
821.2Sbouyer#file-system 	PTYFS		# /dev/pts/N support
831.2Sbouyer#file-system 	TMPFS		# Efficient memory file-system
841.2Sbouyer
851.2Sbouyer# Filesystem options
861.2Sbouyer#options 	QUOTA		# UFS quotas
871.2Sbouyer#options 	NFSSERVER	# Network File System server
881.2Sbouyer#options 	NFS_V2_ONLY	# Exclude NFS3 code to save space
891.2Sbouyeroptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
901.2Sbouyer#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
911.2Sbouyer				# immutable) behave as system flags.
921.2Sbouyer
931.2Sbouyer# Networking options
941.2Sbouyer#options 	GATEWAY		# packet forwarding
951.2Sbouyeroptions 	INET		# IP + ICMP + TCP + UDP
961.2Sbouyeroptions 	INET6		# IPv6
971.2Sbouyer#options 	MROUTING	# IP multicast routing
981.2Sbouyer#options 	PIM		# Protocol Independent Multicast
991.2Sbouyer#options 	ISO,TPIP	# OSI
1001.2Sbouyer#options 	EON		# OSI tunneling over IP
1011.2Sbouyer#options 	NETATALK	# AppleTalk networking protocols
1021.2Sbouyer#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1031.2Sbouyer#options 	PPP_DEFLATE	# Deflate compression support for PPP
1041.2Sbouyer#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1051.2Sbouyer#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1061.2Sbouyer#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1071.2Sbouyer
1081.2Sbouyerconfig		netbsd	root on ? type ?
1091.2Sbouyer#config		netbsd	root on wd0a type ffs
1101.2Sbouyer#config		netbsd	root on xennet0 type nfs
1111.2Sbouyer
1121.2Sbouyermainbus0 at root
1131.2Sbouyer
1141.2Sbouyerhypervisor*	at mainbus?		# Xen hypervisor
1151.2Sbouyer
1161.2Sbouyerxencons*	at hypervisor?		# Xen virtual console
1171.2Sbouyer
1181.2Sbouyervcpu*		at hypervisor?		# Xen virtual CPUs
1191.2Sbouyer
1201.2Sbouyerxenbus*		at hypervisor?		# Xen virtual bus
1211.2Sbouyerxennet*		at xenbus?		# Xen virtual network interface
1221.2Sbouyerxbd*		at xenbus?		# Xen virtual block device
1231.2Sbouyer
1241.2Sbouyer# Pseudo-Devices
1251.2Sbouyer
1261.2Sbouyer# disk/mass storage pseudo-devices
1271.2Sbouyer#pseudo-device	ccd		4	# concatenated/striped disk devices
1281.2Sbouyerpseudo-device	raid		8	# RAIDframe disk driver
1291.2Sbouyeroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
1301.2Sbouyer#pseudo-device	fss		4	# file system snapshot device
1311.2Sbouyerpseudo-device	md		1	# memory disk device (ramdisk)
1321.2Sbouyer#pseudo-device	vnd			# disk-like interface to files
1331.2Sbouyer
1341.2Sbouyer# network pseudo-devices
1351.2Sbouyerpseudo-device	bpfilter		# Berkeley packet filter
1361.2Sbouyer#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1371.2Sbouyerpseudo-device	loop			# network loopback
1381.2Sbouyer#pseudo-device	ppp			# Point-to-Point Protocol
1391.2Sbouyer#pseudo-device	sl			# Serial Line IP
1401.2Sbouyer#pseudo-device	strip			# Starmode Radio IP (Metricom)
1411.2Sbouyer#pseudo-device	tun			# network tunneling over tty
1421.2Sbouyer#pseudo-device	gre			# generic L3 over IP tunnel
1431.2Sbouyer
1441.2Sbouyer# miscellaneous pseudo-devices
1451.2Sbouyerpseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
1461.2Sbouyer#pseudo-device	sequencer	1	# MIDI sequencer
1471.2Sbouyer# rnd works; RND_COM does not on port i386 yet.
1481.2Sbouyerpseudo-device	rnd			# /dev/random and in-kernel generator
1491.2Sbouyer#options 	RND_COM			# use "com" randomness as well (BROKEN)
1501.2Sbouyer
1511.2Sbouyer# a pseudo device needed for Coda	# also needs CODA (above)
1521.2Sbouyer#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
153