XEN3PAE_DOMU revision 1.18
11.18Ssimonb# $NetBSD: XEN3PAE_DOMU,v 1.18 2022/08/07 02:52:26 simonb Exp $ 21.2Sbouyer 31.9Sjdolecekinclude "arch/i386/conf/std.xen" 41.2Sbouyer 51.6Scherryoptions XENPV # PV domU support 61.3Smaxvoptions MULTIPROCESSOR 71.3Smaxv 81.3Smaxvoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 91.3Smaxv 101.3Smaxv#options UVMHIST 111.3Smaxv#options UVMHIST_PRINT 121.3Smaxv#options SYSCALL_DEBUG 131.3Smaxv 141.3Smaxvmaxusers 32 # estimated number of users 151.3Smaxv 161.3Smaxv# 171.3Smaxvoptions XEN 181.3Smaxvoptions PAE 191.3Smaxv#options DOM0OPS 201.3Smaxv 211.3Smaxvmakeoptions CPUFLAGS="-march=i686" 221.3Smaxv 231.3Smaxv#options MTRR # memory-type range register syscall support 241.3Smaxv 251.3Smaxv#options CONSDEVNAME="\"xencons\"" 261.3Smaxv#options CONS_OVERRIDE 271.3Smaxv 281.3Smaxvoptions INSECURE # disable kernel security levels - X needs this 291.3Smaxv 301.3Smaxvoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 311.3Smaxvoptions NTP # NTP phase/frequency locked loop 321.3Smaxv 331.3Smaxvoptions KTRACE # system call tracing via ktrace(1) 341.3Smaxv 351.3Smaxvoptions SYSVMSG # System V-like message queues 361.3Smaxvoptions SYSVSEM # System V-like semaphores 371.3Smaxv#options SEMMNI=10 # number of semaphore identifiers 381.3Smaxv#options SEMMNS=60 # number of semaphores in system 391.3Smaxv#options SEMUME=10 # max number of undo entries per process 401.3Smaxv#options SEMMNU=30 # number of undo structures in system 411.3Smaxvoptions SYSVSHM # System V-like memory sharing 421.3Smaxv#options SHMMAXPGS=2048 # 2048 pages is the default 431.3Smaxv 441.3Smaxvoptions MODULAR # new style module(7) framework 451.3Smaxvoptions USERCONF # userconf(4) support 461.3Smaxvoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 471.3Smaxv 481.3Smaxv# Alternate buffer queue strategies for better responsiveness under high 491.3Smaxv# disk I/O load. 501.3Smaxv#options BUFQ_READPRIO 511.3Smaxvoptions BUFQ_PRIOCSCAN 521.3Smaxv 531.3Smaxv# Diagnostic/debugging support options 541.3Smaxvoptions DIAGNOSTIC # inexpensive kernel consistency checks 551.3Smaxv#options DEBUG # expensive debugging checks/support 561.3Smaxvoptions DDB # in-kernel debugger 571.3Smaxvoptions DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 581.3Smaxvoptions DDB_HISTORY_SIZE=512 # enable history editing in DDB 591.3Smaxv#options KGDB # remote debugger 601.3Smaxv#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600 611.13Sbouyer#makeoptions DEBUG="-g" # compile full symbol table 621.3Smaxvoptions DDB_COMMANDONENTER="trace;show registers" 631.3Smaxv 641.3Smaxv# Compatibility options 651.3Smaxvinclude "conf/compat_netbsd09.config" 661.3Smaxvoptions COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI 671.3Smaxv#options COMPAT_386BSD_MBRPART # recognize old partition ID 681.3Smaxv 691.3Smaxv# Wedge support 701.3Smaxvoptions DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 711.3Smaxvoptions DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 721.3Smaxv#options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges 731.3Smaxv#options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges 741.3Smaxvoptions DKWEDGE_METHOD_APPLE # Support Apple partitions as wedges 751.3Smaxv#options DKWEDGE_METHOD_RDB # Support RDB partitions as wedges 761.3Smaxv 771.3Smaxv# File systems 781.3Smaxvfile-system FFS # UFS 791.3Smaxvfile-system EXT2FS # second extended file system (linux) 801.3Smaxvfile-system LFS # log-structured file system 811.3Smaxvfile-system MFS # memory file system 821.3Smaxvfile-system NFS # Network File System client 831.3Smaxvfile-system NTFS # Windows/NT file system (experimental) 841.3Smaxvfile-system CD9660 # ISO 9660 + Rock Ridge file system 851.3Smaxvfile-system MSDOSFS # MS-DOS file system 861.3Smaxvfile-system FDESC # /dev/fd 871.3Smaxvfile-system KERNFS # /kern 881.3Smaxvfile-system NULLFS # loopback file system 891.3Smaxvfile-system OVERLAY # overlay file system 901.3Smaxvfile-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 911.3Smaxvfile-system PROCFS # /proc 921.3Smaxvfile-system UMAPFS # NULLFS + uid and gid remapping 931.3Smaxvfile-system UNION # union file system 941.3Smaxvfile-system CODA # Coda File System; also needs vcoda (below) 951.3Smaxvfile-system PTYFS # /dev/pts/N support 961.3Smaxvfile-system TMPFS # Efficient memory file-system 971.3Smaxvfile-system NILFS # experimental - NTT's NiLFS(2) 981.3Smaxv#file-system V7FS # 7th Edition(V7) File System 991.3Smaxv 1001.3Smaxv# File system options 1011.18Ssimonb#options FFS_EI # FFS Endian Independent support 1021.18Ssimonb#options FFS_NO_SNAPSHOT # No FFS snapshot support 1031.3Smaxvoptions QUOTA # legacy UFS quotas 1041.3Smaxvoptions QUOTA2 # new, in-filesystem UFS quotas 1051.18Ssimonboptions UFS_DIRHASH # UFS Large Directory Hashing 1061.18Ssimonboptions UFS_EXTATTR # Extended attribute support for UFS1 1071.3Smaxvoptions WAPBL # File system journaling support 1081.18Ssimonboptions LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental 1091.3Smaxv#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1101.3Smaxv # immutable) behave as system flags. 1111.18Ssimonb#options DISKLABEL_EI # disklabel Endian Independent support 1121.18Ssimonboptions NFSSERVER # Network File System server 1131.3Smaxv#options V7FS_EI # V7FS Endian Independent support 1141.3Smaxv 1151.3Smaxv# Networking options 1161.3Smaxv#options GATEWAY # packet forwarding 1171.3Smaxvoptions INET # IP + ICMP + TCP + UDP 1181.3Smaxvoptions INET6 # IPv6 1191.3Smaxvoptions IPSEC # IP security 1201.3Smaxv#options IPSEC_DEBUG # debug for IP security 1211.3Smaxv#options MROUTING # IP multicast routing 1221.3Smaxv#options PIM # Protocol Independent Multicast 1231.3Smaxvoptions NETATALK # AppleTalk networking protocols 1241.3Smaxvoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1251.3Smaxvoptions PPP_DEFLATE # Deflate compression support for PPP 1261.3Smaxvoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1271.3Smaxv#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1281.3Smaxv 1291.3Smaxv#options ALTQ # Manipulate network interfaces' output queues 1301.3Smaxv#options ALTQ_BLUE # Stochastic Fair Blue 1311.3Smaxv#options ALTQ_CBQ # Class-Based Queueing 1321.3Smaxv#options ALTQ_CDNR # Diffserv Traffic Conditioner 1331.3Smaxv#options ALTQ_FIFOQ # First-In First-Out Queue 1341.3Smaxv#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1351.3Smaxv#options ALTQ_HFSC # Hierarchical Fair Service Curve 1361.3Smaxv#options ALTQ_LOCALQ # Local queueing discipline 1371.3Smaxv#options ALTQ_PRIQ # Priority Queueing 1381.3Smaxv#options ALTQ_RED # Random Early Detection 1391.3Smaxv#options ALTQ_RIO # RED with IN/OUT 1401.3Smaxv#options ALTQ_WFQ # Weighted Fair Queueing 1411.3Smaxv 1421.3Smaxvoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 1431.3Smaxv#options NFS_BOOT_BOOTSTATIC 1441.3Smaxv#options NFS_BOOTSTATIC_MYIP="\"169.254.1.2\"" 1451.3Smaxv#options NFS_BOOTSTATIC_GWIP="\"169.254.1.1\"" 1461.3Smaxv#options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 1471.3Smaxv#options NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\"" 1481.3Smaxv#options NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\"" 1491.3Smaxv 1501.3Smaxvconfig netbsd root on ? type ? 1511.3Smaxv#config netbsd root on wd0a type ffs 1521.3Smaxv#config netbsd root on xennet0 type nfs 1531.3Smaxv 1541.3Smaxvmainbus0 at root 1551.3Smaxv 1561.3Smaxvhypervisor* at mainbus? # Xen hypervisor 1571.3Smaxv 1581.3Smaxvvcpu* at hypervisor? # Xen virtual CPUs 1591.3Smaxv 1601.3Smaxvxencons* at hypervisor? # Xen virtual console 1611.3Smaxv 1621.3Smaxvxenbus* at hypervisor? # Xen virtual bus 1631.3Smaxvxennet* at xenbus? # Xen virtual network interface 1641.3Smaxvxbd* at xenbus? # Xen virtual block device 1651.3Smaxvballoon* at xenbus? # Xen balloon device 1661.3Smaxv 1671.3Smaxvcinclude "arch/i386/conf/GENERIC.local" 1681.3Smaxvcinclude "arch/i386/conf/XEN3_DOMU.local" 1691.3Smaxv 1701.3Smaxv# Pseudo-Devices 1711.3Smaxv 1721.3Smaxvpseudo-device crypto # /dev/crypto device 1731.3Smaxvpseudo-device swcrypto # software crypto implementation 1741.3Smaxv 1751.3Smaxv# disk/mass storage pseudo-devices 1761.3Smaxvpseudo-device ccd # concatenated/striped disk devices 1771.3Smaxvpseudo-device cgd # cryptographic disk devices 1781.3Smaxvpseudo-device raid # RAIDframe disk driver 1791.3Smaxvoptions RAID_AUTOCONFIG # auto-configuration of RAID components 1801.3Smaxv# Options to enable various other RAIDframe RAID types. 1811.3Smaxv#options RF_INCLUDE_EVENODD=1 1821.3Smaxv#options RF_INCLUDE_RAID5_RS=1 1831.3Smaxv#options RF_INCLUDE_PARITYLOGGING=1 1841.3Smaxv#options RF_INCLUDE_CHAINDECLUSTER=1 1851.3Smaxv#options RF_INCLUDE_INTERDECLUSTER=1 1861.3Smaxv#options RF_INCLUDE_PARITY_DECLUSTERING=1 1871.3Smaxv#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 1881.3Smaxvpseudo-device fss # file system snapshot device 1891.3Smaxv 1901.3Smaxvpseudo-device md # memory disk device (ramdisk) 1911.3Smaxvpseudo-device vnd # disk-like interface to files 1921.3Smaxvpseudo-device dm # device-mapper driver for LVM 1931.3Smaxv 1941.3Smaxv# network pseudo-devices 1951.3Smaxvpseudo-device bpfilter # Berkeley packet filter 1961.3Smaxvpseudo-device loop # network loopback 1971.3Smaxvpseudo-device ppp # Point-to-Point Protocol 1981.3Smaxvpseudo-device pppoe # PPP over Ethernet (RFC 2516) 1991.3Smaxvpseudo-device sl # Serial Line IP 2001.3Smaxvpseudo-device tap # virtual Ethernet 2011.3Smaxvpseudo-device tun # network tunneling over tty 2021.3Smaxvpseudo-device gre # generic L3 over IP tunnel 2031.3Smaxvpseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 2041.3Smaxv#pseudo-device faith # IPv[46] tcp relay translation i/f 2051.3Smaxvpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2061.3Smaxvpseudo-device vlan # IEEE 802.1q encapsulation 2071.3Smaxvpseudo-device bridge # simple inter-network bridging 2081.16Sroypseudo-device vether # Virtual Ethernet for bridge 2091.5Smaxvpseudo-device l2tp # L2TPv3 interface 2101.4Smaxvpseudo-device npf # NPF packet filter 2111.3Smaxv 2121.3Smaxv# accept filters 2131.3Smaxvpseudo-device accf_data # "dataready" accept filter 2141.3Smaxvpseudo-device accf_http # "httpready" accept filter 2151.3Smaxv 2161.3Smaxv# miscellaneous pseudo-devices 2171.3Smaxvpseudo-device pty # pseudo-terminals 2181.3Smaxvpseudo-device clockctl # user control of clock subsystem 2191.3Smaxvpseudo-device ksyms # /dev/ksyms 2201.3Smaxvpseudo-device putter # for puffs and pud 2211.3Smaxv 2221.3Smaxv# a pseudo device needed for Coda # also needs CODA (above) 2231.3Smaxvpseudo-device vcoda # coda minicache <-> venus comm. 2241.3Smaxv 2251.3Smaxv# userland interface to drivers, including autoconf and properties retrieval 2261.3Smaxvpseudo-device drvctl 2271.3Smaxv 2281.3Smaxvoptions PAX_MPROTECT=0 # PaX mprotect(2) restrictions 2291.3Smaxvoptions PAX_ASLR=0 # PaX Address Space Layout Randomization 2301.3Smaxv 2311.3Smaxv# PCI pass-through support: 2321.3Smaxv#xpci* at xenbus ? #Xen3 PCI front end driver 2331.3Smaxv#pci* at xpci ? 2341.3Smaxv# you then need to add your PCI devices drivers below. 235