XEN3_DOMU revision 1.88
11.88Scherry# $NetBSD: XEN3_DOMU,v 1.88 2019/02/11 14:59:32 cherry 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.88Scherry#ident "XEN3_DOMU-$Revision: 1.88 $" 151.79Spgoyette 161.2Sbouyermaxusers 32 # estimated number of users 171.2Sbouyer 181.2Sbouyer# 191.43Sbouyeroptions MAXPHYS=32768 #xbd doesn't handle 64k transfers 201.2Sbouyer#options DOM0OPS 211.2Sbouyer 221.2Sbouyer#options USER_LDT # user-settable LDT; used by WINE 231.2Sbouyer 241.2Sbouyer#options MTRR # memory-type range register syscall support 251.2Sbouyer 261.2Sbouyer#options CONSDEVNAME="\"xencons\"" 271.2Sbouyer#options CONS_OVERRIDE 281.2Sbouyer 291.2Sbouyeroptions INSECURE # disable kernel security levels - X needs this 301.2Sbouyer 311.2Sbouyeroptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 321.2Sbouyeroptions NTP # NTP phase/frequency locked loop 331.2Sbouyer 341.2Sbouyeroptions KTRACE # system call tracing via ktrace(1) 351.2Sbouyer 361.2Sbouyeroptions SYSVMSG # System V-like message queues 371.2Sbouyeroptions SYSVSEM # System V-like semaphores 381.2Sbouyeroptions SYSVSHM # System V-like memory sharing 391.2Sbouyer 401.66Smaxvoptions MODULAR # new style module(7) framework 411.2Sbouyeroptions USERCONF # userconf(4) support 421.2Sbouyeroptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 431.2Sbouyer 441.83Ssevan# Alternate buffer queue strategies for better responsiveness under high 451.83Ssevan# disk I/O load. 461.31Sjakllsch#options BUFQ_READPRIO 471.31Sjakllschoptions BUFQ_PRIOCSCAN 481.31Sjakllsch 491.2Sbouyer# Diagnostic/debugging support options 501.54Sdhollandoptions DIAGNOSTIC # inexpensive kernel consistency checks 511.37Sbouyer#options DEBUG # expensive debugging checks/support 521.2Sbouyeroptions DDB # in-kernel debugger 531.53Sszptvlfnoptions DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 541.2Sbouyeroptions DDB_HISTORY_SIZE=512 # enable history editing in DDB 551.2Sbouyer#options KGDB # remote debugger 561.2Sbouyer#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600 571.37Sbouyer#makeoptions DEBUG="-g" # compile full symbol table 581.30Sryomakeoptions COPTS="-O2 -fno-omit-frame-pointer" 591.85Sbouyeroptions DDB_COMMANDONENTER="trace;show registers" 601.2Sbouyer 611.2Sbouyer# Compatibility options 621.78Smrginclude "conf/compat_netbsd15.config" 631.12Sjoerg#options COMPAT_386BSD_MBRPART # recognize old partition ID 641.12Sjoerg 651.12Sjoergoptions COMPAT_OSSAUDIO 661.2Sbouyeroptions COMPAT_NETBSD32 671.12Sjoergoptions COMPAT_LINUX 681.12Sjoergoptions COMPAT_LINUX32 # req. COMPAT_LINUX and COMPAT_NETBSD32 691.2Sbouyeroptions EXEC_ELF32 701.2Sbouyer 711.46Sriz# Wedge support 721.46Srizoptions DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 731.46Srizoptions DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 741.58Schristos#options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges 751.58Schristos#options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges 761.68Sryooptions DKWEDGE_METHOD_APPLE # Support Apple partitions as wedges 771.73Srin#options DKWEDGE_METHOD_RDB # Support RDB partitions as wedges 781.46Sriz 791.2Sbouyer# File systems 801.68Sryofile-system FFS # UFS 811.68Sryofile-system EXT2FS # second extended file system (linux) 821.68Sryofile-system LFS # log-structured file system 831.68Sryofile-system MFS # memory file system 841.68Sryofile-system NFS # Network File System client 851.68Sryofile-system NTFS # Windows/NT file system (experimental) 861.68Sryofile-system CD9660 # ISO 9660 + Rock Ridge file system 871.68Sryofile-system MSDOSFS # MS-DOS file system 881.68Sryofile-system FDESC # /dev/fd 891.68Sryofile-system KERNFS # /kern 901.68Sryofile-system NULLFS # loopback file system 911.68Sryofile-system OVERLAY # overlay file system 921.20Spookafile-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 931.68Sryofile-system PROCFS # /proc 941.68Sryofile-system UMAPFS # NULLFS + uid and gid remapping 951.68Sryofile-system UNION # union file system 961.68Sryofile-system CODA # Coda File System; also needs vcoda (below) 971.68Sryofile-system SMBFS # experimental - CIFS; also needs nsmb (below) 981.68Sryofile-system PTYFS # /dev/pts/N support 991.68Sryofile-system TMPFS # Efficient memory file-system 1001.81Schristos#file-system AUTOFS # Automounter Filesystem 1011.2Sbouyer 1021.2Sbouyer# File system options 1031.27Sbouyeroptions QUOTA # legacy UFS quotas 1041.27Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 1051.80Srin#options DISKLABEL_EI # disklabel Endian Independent support 1061.2Sbouyer#options FFS_EI # FFS Endian Independent support 1071.34Sdhollandoptions WAPBL # File system journaling support 1081.2Sbouyer#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1091.2Sbouyeroptions NFSSERVER # Network File System server 1101.2Sbouyer#options FFS_NO_SNAPSHOT # No FFS snapshot support 1111.59Smanuoptions UFS_EXTATTR # Extended attribute support for UFS1 1121.2Sbouyer#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1131.2Sbouyer # immutable) behave as system flags. 1141.2Sbouyer 1151.2Sbouyer# Networking options 1161.2Sbouyer#options GATEWAY # packet forwarding 1171.2Sbouyeroptions INET # IP + ICMP + TCP + UDP 1181.2Sbouyeroptions INET6 # IPV6 1191.62Sbouyeroptions IPSEC # IP security 1201.2Sbouyer#options IPSEC_DEBUG # debug for IP security 1211.2Sbouyer#options MROUTING # IP multicast routing 1221.2Sbouyer#options PIM # Protocol Independent Multicast 1231.2Sbouyeroptions NETATALK # AppleTalk networking protocols 1241.2Sbouyeroptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1251.2Sbouyeroptions PPP_DEFLATE # Deflate compression support for PPP 1261.2Sbouyeroptions PPP_FILTER # Active filter support for PPP (requires bpf) 1271.2Sbouyer#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1281.2Sbouyer 1291.2Sbouyer#options ALTQ # Manipulate network interfaces' output queues 1301.2Sbouyer#options ALTQ_BLUE # Stochastic Fair Blue 1311.2Sbouyer#options ALTQ_CBQ # Class-Based Queueing 1321.2Sbouyer#options ALTQ_CDNR # Diffserv Traffic Conditioner 1331.2Sbouyer#options ALTQ_FIFOQ # First-In First-Out Queue 1341.2Sbouyer#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1351.2Sbouyer#options ALTQ_HFSC # Hierarchical Fair Service Curve 1361.2Sbouyer#options ALTQ_LOCALQ # Local queueing discipline 1371.2Sbouyer#options ALTQ_PRIQ # Priority Queueing 1381.2Sbouyer#options ALTQ_RED # Random Early Detection 1391.2Sbouyer#options ALTQ_RIO # RED with IN/OUT 1401.2Sbouyer#options ALTQ_WFQ # Weighted Fair Queueing 1411.2Sbouyer 1421.17Snisimuraoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 1431.17Snisimura#options NFS_BOOT_BOOTSTATIC 1441.2Sbouyer#options NFS_BOOTSTATIC_MYIP="\"169.254.1.2\"" 1451.2Sbouyer#options NFS_BOOTSTATIC_GWIP="\"169.254.1.1\"" 1461.2Sbouyer#options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 1471.2Sbouyer#options NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\"" 1481.2Sbouyer#options NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\"" 1491.2Sbouyer 1501.2Sbouyerconfig netbsd root on ? type ? 1511.2Sbouyer#config netbsd root on wd0a type ffs 1521.2Sbouyer#config netbsd root on xennet0 type nfs 1531.2Sbouyer 1541.2Sbouyermainbus0 at root 1551.2Sbouyer 1561.2Sbouyerhypervisor* at mainbus? # Xen hypervisor 1571.2Sbouyer 1581.2Sbouyervcpu* at hypervisor? # Xen virtual CPUs 1591.30Sryoxenbus* at hypervisor? # Xen virtual bus 1601.30Sryoxennet* at xenbus? # Xen virtual network interface 1611.2Sbouyerxbd* at xenbus? # Xen virtual block device 1621.29Sjymballoon* at xenbus? # Xen balloon device 1631.2Sbouyer 1641.2Sbouyerxencons* at hypervisor? # Xen virtual console 1651.2Sbouyer 1661.30Sryo# PCI pass-through support: 1671.52Sjakllsch#xpci* at xenbus ? #Xen3 PCI front end driver 1681.52Sjakllsch#pci* at xpci ? 1691.16Sbouyer# you then need to add your PCI devices drivers below. 1701.16Sbouyer 1711.6Sjmmvcinclude "arch/amd64/conf/GENERIC.local" 1721.69Schristoscinclude "arch/amd64/conf/XEN3_DOMU.local" 1731.2Sbouyer 1741.2Sbouyer# Pseudo-Devices 1751.2Sbouyer 1761.13Scegger# 1771.13Scegger# accept filters 1781.13Sceggerpseudo-device accf_data # "dataready" accept filter 1791.13Sceggerpseudo-device accf_http # "httpready" accept filter 1801.13Scegger 1811.68Sryopseudo-device crypto # /dev/crypto device 1821.2Sbouyerpseudo-device swcrypto # software crypto implementation 1831.2Sbouyer 1841.2Sbouyer# disk/mass storage pseudo-devices 1851.47Schristospseudo-device ccd # concatenated/striped disk devices 1861.47Schristospseudo-device cgd # cryptographic disk devices 1871.48Schristospseudo-device raid # RAIDframe disk driver 1881.2Sbouyeroptions RAID_AUTOCONFIG # auto-configuration of RAID components 1891.2Sbouyer# Options to enable various other RAIDframe RAID types. 1901.2Sbouyer#options RF_INCLUDE_EVENODD=1 1911.2Sbouyer#options RF_INCLUDE_RAID5_RS=1 1921.2Sbouyer#options RF_INCLUDE_PARITYLOGGING=1 1931.2Sbouyer#options RF_INCLUDE_CHAINDECLUSTER=1 1941.2Sbouyer#options RF_INCLUDE_INTERDECLUSTER=1 1951.2Sbouyer#options RF_INCLUDE_PARITY_DECLUSTERING=1 1961.2Sbouyer#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 1971.22Spookapseudo-device fss # file system snapshot device 1981.20Spookapseudo-device putter # for puffs and pud 1991.2Sbouyer 2001.26Shannkenpseudo-device md # memory disk device (ramdisk) 2011.2Sbouyerpseudo-device vnd # disk-like interface to files 2021.25Shaadpseudo-device dm # device-mapper driver for LVM 2031.2Sbouyer 2041.2Sbouyer# network pseudo-devices 2051.2Sbouyerpseudo-device bpfilter # Berkeley packet filter 2061.74Ssborrill#pseudo-device carp # Common Address Redundancy Protocol 2071.2Sbouyerpseudo-device loop # network loopback 2081.74Ssborrill#pseudo-device mpls # MPLS pseudo-interface 2091.2Sbouyerpseudo-device ppp # Point-to-Point Protocol 2101.2Sbouyerpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2111.2Sbouyerpseudo-device sl # Serial Line IP 2121.2Sbouyerpseudo-device tap # virtual Ethernet 2131.2Sbouyerpseudo-device tun # network tunneling over tty 2141.2Sbouyerpseudo-device gre # generic L3 over IP tunnel 2151.2Sbouyerpseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2161.2Sbouyer#pseudo-device faith # IPv[46] tcp relay translation i/f 2171.2Sbouyerpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2181.2Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2191.2Sbouyerpseudo-device bridge # simple inter-network bridging 2201.2Sbouyer#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2211.87Smaxvpseudo-device l2tp # L2TPv3 interface 2221.86Smaxvpseudo-device npf # NPF packet filter 2231.2Sbouyer 2241.65Schristosoptions PAX_MPROTECT=1 # PaX mprotect(2) restrictions 2251.65Schristosoptions PAX_ASLR=1 # PaX Address Space Layout Randomization 2261.21Sjym 2271.2Sbouyer# miscellaneous pseudo-devices 2281.2Sbouyerpseudo-device pty # pseudo-terminals 2291.2Sbouyerpseudo-device clockctl # user control of clock subsystem 2301.2Sbouyerpseudo-device ksyms # /dev/ksyms 2311.2Sbouyer 2321.2Sbouyer# a pseudo device needed for Coda # also needs CODA (above) 2331.48Schristospseudo-device vcoda # coda minicache <-> venus comm. 2341.2Sbouyer 2351.2Sbouyer# a pseudo device needed for SMBFS 2361.2Sbouyerpseudo-device nsmb # experimental - SMB requester 2371.32Sriz 2381.82Schristos# a pseudo device needed for AUTOFS 2391.82Schristos#pseudo-device autofs # experimental - AUTOFS 2401.82Schristos 2411.64Stnn# iSCSI initiator and dependencies 2421.64Stnn#scsibus* at scsi? 2431.64Stnn#sd* at scsibus? target ? lun ? 2441.64Stnn#pseudo-device iscsi 2451.64Stnn 2461.32Sriz# userland interface to drivers, including autoconf and properties retrieval 2471.32Srizpseudo-device drvctl 248