1 1.4 martti # $NetBSD: XEN3_DOMU,v 1.4 2008/01/07 08:30:03 martti Exp $ 2 1.2 bouyer 3 1.2 bouyer include "arch/amd64/conf/std.xen" 4 1.2 bouyer 5 1.2 bouyer options INCLUDE_CONFIG_FILE # embed config file in kernel binary 6 1.2 bouyer 7 1.2 bouyer #options UVMHIST 8 1.2 bouyer #options UVMHIST_PRINT 9 1.2 bouyer #options SYSCALL_DEBUG 10 1.2 bouyer 11 1.2 bouyer maxusers 32 # estimated number of users 12 1.2 bouyer 13 1.2 bouyer # 14 1.2 bouyer options MAXPHYS=32768 #xbd doesn't handle 64k transfers 15 1.2 bouyer #options DOM0OPS 16 1.2 bouyer 17 1.2 bouyer #options VM86 # virtual 8086 emulation 18 1.2 bouyer #options USER_LDT # user-settable LDT; used by WINE 19 1.2 bouyer 20 1.2 bouyer #options MTRR # memory-type range register syscall support 21 1.2 bouyer 22 1.2 bouyer #options CONSDEVNAME="\"xencons\"" 23 1.2 bouyer #options CONS_OVERRIDE 24 1.2 bouyer 25 1.2 bouyer options INSECURE # disable kernel security levels - X needs this 26 1.2 bouyer 27 1.2 bouyer options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 28 1.2 bouyer options NTP # NTP phase/frequency locked loop 29 1.2 bouyer 30 1.2 bouyer options KTRACE # system call tracing via ktrace(1) 31 1.2 bouyer 32 1.2 bouyer options SYSVMSG # System V-like message queues 33 1.2 bouyer options SYSVSEM # System V-like semaphores 34 1.2 bouyer #options SEMMNI=10 # number of semaphore identifiers 35 1.2 bouyer #options SEMMNS=60 # number of semaphores in system 36 1.2 bouyer #options SEMUME=10 # max number of undo entries per process 37 1.2 bouyer #options SEMMNU=30 # number of undo structures in system 38 1.2 bouyer options SYSVSHM # System V-like memory sharing 39 1.2 bouyer #options SHMMAXPGS=2048 # 2048 pages is the default 40 1.2 bouyer options P1003_1B_SEMAPHORE # p1003.1b semaphore support 41 1.2 bouyer 42 1.2 bouyer options LKM # loadable kernel modules 43 1.2 bouyer 44 1.2 bouyer options USERCONF # userconf(4) support 45 1.2 bouyer options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 46 1.2 bouyer 47 1.2 bouyer # Diagnostic/debugging support options 48 1.2 bouyer options DIAGNOSTIC # expensive kernel consistency checks 49 1.2 bouyer options DEBUG # expensive debugging checks/support 50 1.2 bouyer options KMEMSTATS # kernel memory statistics (vmstat -m) 51 1.2 bouyer options DDB # in-kernel debugger 52 1.2 bouyer options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 53 1.2 bouyer options DDB_HISTORY_SIZE=512 # enable history editing in DDB 54 1.2 bouyer #options KGDB # remote debugger 55 1.2 bouyer #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600 56 1.4 martti makeoptions DEBUG="-g" # compile full symbol table 57 1.4 martti makeoptions COPTS="-O2 -fno-omit-frame-pointer" 58 1.2 bouyer options DDB_COMMANDONENTER="trace;show registers" 59 1.2 bouyer 60 1.2 bouyer # Compatibility options 61 1.2 bouyer options COMPAT_15 # NetBSD 1.5 62 1.2 bouyer options COMPAT_16 # NetBSD 1.6 63 1.2 bouyer options COMPAT_20 # NetBSD 2.0 64 1.2 bouyer options COMPAT_30 # NetBSD 3.0 compatibility. 65 1.2 bouyer options COMPAT_40 # NetBSD 4.0 66 1.2 bouyer options COMPAT_43 # 4.3BSD, 386BSD, and BSDI 67 1.2 bouyer 68 1.2 bouyer options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 69 1.2 bouyer options COMPAT_LINUX # binary compatibility with Linux 70 1.2 bouyer options COMPAT_LINUX32 # binary compatibility with Linux 71 1.2 bouyer options COMPAT_NETBSD32 72 1.2 bouyer options EXEC_ELF32 73 1.2 bouyer options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 74 1.2 bouyer 75 1.2 bouyer # File systems 76 1.2 bouyer file-system FFS # UFS 77 1.2 bouyer file-system EXT2FS # second extended file system (linux) 78 1.2 bouyer file-system LFS # log-structured file system 79 1.2 bouyer file-system MFS # memory file system 80 1.2 bouyer file-system NFS # Network File System client 81 1.2 bouyer file-system NTFS # Windows/NT file system (experimental) 82 1.2 bouyer file-system CD9660 # ISO 9660 + Rock Ridge file system 83 1.2 bouyer file-system MSDOSFS # MS-DOS file system 84 1.2 bouyer file-system FDESC # /dev/fd 85 1.2 bouyer file-system KERNFS # /kern 86 1.2 bouyer file-system NULLFS # loopback file system 87 1.2 bouyer file-system OVERLAY # overlay file system 88 1.2 bouyer file-system PORTAL # portal filesystem (still experimental) 89 1.2 bouyer file-system PROCFS # /proc 90 1.2 bouyer file-system UMAPFS # NULLFS + uid and gid remapping 91 1.2 bouyer file-system UNION # union file system 92 1.2 bouyer file-system CODA # Coda File System; also needs vcoda (below) 93 1.2 bouyer file-system SMBFS # experimental - CIFS; also needs nsmb (below) 94 1.2 bouyer file-system PTYFS # /dev/pts/N support 95 1.2 bouyer file-system TMPFS # Efficient memory file-system 96 1.2 bouyer 97 1.2 bouyer # File system options 98 1.2 bouyer options QUOTA # UFS quotas 99 1.2 bouyer #options FFS_EI # FFS Endian Independent support 100 1.2 bouyer options SOFTDEP # FFS soft updates support. 101 1.2 bouyer #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 102 1.2 bouyer options NFSSERVER # Network File System server 103 1.2 bouyer #options FFS_NO_SNAPSHOT # No FFS snapshot support 104 1.2 bouyer #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 105 1.2 bouyer # immutable) behave as system flags. 106 1.2 bouyer 107 1.2 bouyer # Networking options 108 1.2 bouyer #options GATEWAY # packet forwarding 109 1.2 bouyer options INET # IP + ICMP + TCP + UDP 110 1.2 bouyer options INET6 # IPV6 111 1.2 bouyer #options IPSEC # IP security 112 1.2 bouyer #options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 113 1.2 bouyer #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 114 1.2 bouyer #options IPSEC_DEBUG # debug for IP security 115 1.2 bouyer #options MROUTING # IP multicast routing 116 1.2 bouyer #options PIM # Protocol Independent Multicast 117 1.2 bouyer options ISO,TPIP # OSI 118 1.2 bouyer #options EON # OSI tunneling over IP 119 1.2 bouyer options NETATALK # AppleTalk networking protocols 120 1.2 bouyer options PPP_BSDCOMP # BSD-Compress compression support for PPP 121 1.2 bouyer options PPP_DEFLATE # Deflate compression support for PPP 122 1.2 bouyer options PPP_FILTER # Active filter support for PPP (requires bpf) 123 1.2 bouyer options PFIL_HOOKS # pfil(9) packet filter hooks 124 1.2 bouyer options IPFILTER_LOG # ipmon(8) log support 125 1.2 bouyer options IPFILTER_LOOKUP # ippool(8) support 126 1.2 bouyer #options IPFILTER_DEFAULT_BLOCK # block all packets by default 127 1.2 bouyer #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 128 1.2 bouyer 129 1.2 bouyer #options ALTQ # Manipulate network interfaces' output queues 130 1.2 bouyer #options ALTQ_BLUE # Stochastic Fair Blue 131 1.2 bouyer #options ALTQ_CBQ # Class-Based Queueing 132 1.2 bouyer #options ALTQ_CDNR # Diffserv Traffic Conditioner 133 1.2 bouyer #options ALTQ_FIFOQ # First-In First-Out Queue 134 1.2 bouyer #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 135 1.2 bouyer #options ALTQ_HFSC # Hierarchical Fair Service Curve 136 1.2 bouyer #options ALTQ_LOCALQ # Local queueing discipline 137 1.2 bouyer #options ALTQ_PRIQ # Priority Queueing 138 1.2 bouyer #options ALTQ_RED # Random Early Detection 139 1.2 bouyer #options ALTQ_RIO # RED with IN/OUT 140 1.2 bouyer #options ALTQ_WFQ # Weighted Fair Queueing 141 1.2 bouyer 142 1.2 bouyer options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTSTATIC 143 1.2 bouyer #options NFS_BOOTSTATIC_MYIP="\"169.254.1.2\"" 144 1.2 bouyer #options NFS_BOOTSTATIC_GWIP="\"169.254.1.1\"" 145 1.2 bouyer #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 146 1.2 bouyer #options NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\"" 147 1.2 bouyer #options NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\"" 148 1.2 bouyer 149 1.2 bouyer config netbsd root on ? type ? 150 1.2 bouyer #config netbsd root on wd0a type ffs 151 1.2 bouyer #config netbsd root on xennet0 type nfs 152 1.2 bouyer 153 1.2 bouyer mainbus0 at root 154 1.2 bouyer 155 1.2 bouyer hypervisor* at mainbus? # Xen hypervisor 156 1.2 bouyer 157 1.2 bouyer vcpu* at hypervisor? # Xen virtual CPUs 158 1.2 bouyer xenbus* at hypervisor? # Xen virtual bus 159 1.2 bouyer xennet* at xenbus? # Xen virtual network interface 160 1.2 bouyer xbd* at xenbus? # Xen virtual block device 161 1.2 bouyer 162 1.2 bouyer xencons* at hypervisor? # Xen virtual console 163 1.2 bouyer 164 1.2 bouyer include "arch/i386/conf/GENERIC.local" 165 1.2 bouyer 166 1.2 bouyer # Pseudo-Devices 167 1.2 bouyer 168 1.2 bouyer pseudo-device crypto # /dev/crypto device 169 1.2 bouyer pseudo-device swcrypto # software crypto implementation 170 1.2 bouyer 171 1.2 bouyer # disk/mass storage pseudo-devices 172 1.2 bouyer pseudo-device ccd 4 # concatenated/striped disk devices 173 1.2 bouyer #pseudo-device cgd 4 # cryptographic disk devices 174 1.2 bouyer pseudo-device raid 8 # RAIDframe disk driver 175 1.2 bouyer options RAID_AUTOCONFIG # auto-configuration of RAID components 176 1.2 bouyer # Options to enable various other RAIDframe RAID types. 177 1.2 bouyer #options RF_INCLUDE_EVENODD=1 178 1.2 bouyer #options RF_INCLUDE_RAID5_RS=1 179 1.2 bouyer #options RF_INCLUDE_PARITYLOGGING=1 180 1.2 bouyer #options RF_INCLUDE_CHAINDECLUSTER=1 181 1.2 bouyer #options RF_INCLUDE_INTERDECLUSTER=1 182 1.2 bouyer #options RF_INCLUDE_PARITY_DECLUSTERING=1 183 1.2 bouyer #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 184 1.2 bouyer pseudo-device fss 4 # file system snapshot device 185 1.2 bouyer 186 1.2 bouyer pseudo-device md 1 # memory disk device (ramdisk) 187 1.2 bouyer pseudo-device vnd # disk-like interface to files 188 1.2 bouyer 189 1.2 bouyer # network pseudo-devices 190 1.2 bouyer pseudo-device bpfilter # Berkeley packet filter 191 1.2 bouyer pseudo-device ipfilter # IP filter (firewall) and NAT 192 1.2 bouyer pseudo-device loop # network loopback 193 1.2 bouyer pseudo-device ppp # Point-to-Point Protocol 194 1.2 bouyer pseudo-device pppoe # PPP over Ethernet (RFC 2516) 195 1.2 bouyer pseudo-device sl # Serial Line IP 196 1.2 bouyer pseudo-device tap # virtual Ethernet 197 1.2 bouyer pseudo-device tun # network tunneling over tty 198 1.2 bouyer pseudo-device gre # generic L3 over IP tunnel 199 1.2 bouyer pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 200 1.2 bouyer #pseudo-device faith # IPv[46] tcp relay translation i/f 201 1.2 bouyer pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 202 1.2 bouyer pseudo-device vlan # IEEE 802.1q encapsulation 203 1.2 bouyer pseudo-device bridge # simple inter-network bridging 204 1.2 bouyer #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 205 1.2 bouyer #pseudo-device pf # PF packet filter 206 1.2 bouyer #pseudo-device pflog # PF log if 207 1.2 bouyer 208 1.2 bouyer # miscellaneous pseudo-devices 209 1.2 bouyer pseudo-device pty # pseudo-terminals 210 1.2 bouyer pseudo-device rnd # /dev/random and in-kernel generator 211 1.2 bouyer pseudo-device clockctl # user control of clock subsystem 212 1.2 bouyer pseudo-device ksyms # /dev/ksyms 213 1.2 bouyer 214 1.2 bouyer # a pseudo device needed for Coda # also needs CODA (above) 215 1.2 bouyer pseudo-device vcoda 4 # coda minicache <-> venus comm. 216 1.2 bouyer 217 1.2 bouyer # a pseudo device needed for SMBFS 218 1.2 bouyer pseudo-device nsmb # experimental - SMB requester 219