INSTALL_XEN3_DOMU revision 1.1.2.1 1 # $NetBSD: INSTALL_XEN3_DOMU,v 1.1.2.1 2007/10/17 21:38:16 bouyer Exp $
2
3 include "arch/xenamd64/conf/std.xen"
4
5 options XEN
6 options XEN3 #Xen 3.x support
7 options MAXPHYS=32768 #xbd doesn't handle 64k transfers
8
9
10 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
11
12 # Enable the hooks used for initializing the root memory-disk.
13 options MEMORY_DISK_HOOKS
14 options MEMORY_DISK_IS_ROOT # force root on memory disk
15 options MEMORY_DISK_SERVER=0 # no userspace memory disk support
16 options MEMORY_DISK_ROOT_SIZE=10000 # size of memory disk, in blocks
17
18 maxusers 32 # estimated number of users
19
20 # CPU-related options.
21 #options MATH_EMULATE # floating point emulation
22 #options VM86 # virtual 8086 emulation
23 #options USER_LDT # user-settable LDT; used by WINE
24
25 # Standard system options
26
27 options INSECURE # disable kernel security levels
28
29 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
30 #options NTP # NTP phase/frequency locked loop
31
32 #options KTRACE # system call tracing via ktrace(1)
33
34 #options SYSVMSG # System V-like message queues
35 #options SYSVSEM # System V-like semaphores
36 #options SYSVSHM # System V-like memory sharing
37 #options SHMMAXPGS=2048 # 2048 pages is the default
38
39 #options LKM # loadable kernel modules
40
41 options USERCONF # userconf(4) support
42 options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
43 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
44
45 # Diagnostic/debugging support options
46 options DIAGNOSTIC # expensive kernel consistency checks
47 options DEBUG # expensive debugging checks/support
48 #options KMEMSTATS # kernel memory statistics (vmstat -m)
49 options DDB # in-kernel debugger
50 #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
51 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
52 #options KGDB # remote debugger
53 #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
54 makeoptions DEBUG="-g" # compile full symbol table
55 makeoptions COPTS="-O2 -fno-omit-frame-pointer"
56 options DDB_COMMANDONENTER="trace;show registers"
57
58
59 # Compatibility options
60 options COMPAT_40 # NetBSD 4.0
61
62 #options COMPAT_SVR4 # binary compatibility with SVR4
63 #options COMPAT_IBCS2 # binary compatibility with SCO and ISC
64 #options COMPAT_LINUX # binary compatibility with Linux
65 #options COMPAT_FREEBSD # binary compatibility with FreeBSD
66 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
67
68 # File systems
69 file-system FFS # UFS
70 file-system EXT2FS # second extended file system (linux)
71 #file-system LFS # log-structured file system
72 file-system MFS # memory file system
73 file-system NFS # Network File System client
74 file-system NTFS # Windows/NT Filesystem
75 file-system CD9660 # ISO 9660 + Rock Ridge file system
76 file-system MSDOSFS # MS-DOS file system
77 #file-system FDESC # /dev/fd
78 file-system KERNFS # /kern
79 #file-system NULLFS # loopback file system
80 #file-system PORTAL # portal filesystem (still experimental)
81 #file-system PROCFS # /proc
82 #file-system UMAPFS # NULLFS + uid and gid remapping
83 #file-system UNION # union file system
84 #file-system PTYFS # /dev/pts/N support
85 #file-system TMPFS # Efficient memory file-system
86
87 # Filesystem options
88 #options QUOTA # UFS quotas
89 #options NFSSERVER # Network File System server
90 #options NFS_V2_ONLY # Exclude NFS3 code to save space
91 options FFS_NO_SNAPSHOT # No FFS snapshot support
92 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
93 # immutable) behave as system flags.
94
95 # Networking options
96 #options GATEWAY # packet forwarding
97 options INET # IP + ICMP + TCP + UDP
98 options INET6 # IPv6
99 #options MROUTING # IP multicast routing
100 #options PIM # Protocol Independent Multicast
101 #options ISO,TPIP # OSI
102 #options EON # OSI tunneling over IP
103 #options NETATALK # AppleTalk networking protocols
104 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
105 #options PPP_DEFLATE # Deflate compression support for PPP
106 #options PPP_FILTER # Active filter support for PPP (requires bpf)
107 #options PFIL_HOOKS # pfil(9) packet filter hooks
108 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
109
110 config netbsd root on ? type ?
111 #config netbsd root on wd0a type ffs
112 #config netbsd root on xennet0 type nfs
113
114 mainbus0 at root
115
116 hypervisor* at mainbus? # Xen hypervisor
117
118 xencons* at hypervisor? # Xen virtual console
119
120 vcpu* at hypervisor? # Xen virtual CPUs
121
122 xenbus* at hypervisor? # Xen virtual bus
123 xennet* at xenbus? # Xen virtual network interface
124 xbd* at xenbus? # Xen virtual block device
125
126 # Pseudo-Devices
127
128 # disk/mass storage pseudo-devices
129 #pseudo-device ccd 4 # concatenated/striped disk devices
130 pseudo-device raid 8 # RAIDframe disk driver
131 options RAID_AUTOCONFIG # auto-configuration of RAID components
132 #pseudo-device fss 4 # file system snapshot device
133 pseudo-device md 1 # memory disk device (ramdisk)
134 #pseudo-device vnd # disk-like interface to files
135
136 # network pseudo-devices
137 pseudo-device bpfilter # Berkeley packet filter
138 #pseudo-device ipfilter # IP filter (firewall) and NAT
139 pseudo-device loop # network loopback
140 #pseudo-device ppp # Point-to-Point Protocol
141 #pseudo-device sl # Serial Line IP
142 #pseudo-device strip # Starmode Radio IP (Metricom)
143 #pseudo-device tun # network tunneling over tty
144 #pseudo-device gre # generic L3 over IP tunnel
145
146 # miscellaneous pseudo-devices
147 pseudo-device pty 2 # pseudo-terminals (Sysinst needs two)
148 #pseudo-device sequencer 1 # MIDI sequencer
149 # rnd works; RND_COM does not on port i386 yet.
150 pseudo-device rnd # /dev/random and in-kernel generator
151 #options RND_COM # use "com" randomness as well (BROKEN)
152
153 # a pseudo device needed for Coda # also needs CODA (above)
154 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
155