options CHILD_MAX=1024 # 160 is too few
options OPEN_MAX=1024 # 128 is too few
mainbus0 at root
cpu* at mainbus?
ioapic* at mainbus? apid ?
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
maxusers 8 # estimated number of users
options INSECURE # disable kernel security levels - X needs this
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
# Xen PV support for PVH and HVM guests, needed for PVH boot
options XENPVHVM
options XEN
hypervisor* at mainbus? # Xen hypervisor
xenbus* at hypervisor? # Xen virtual bus
xencons* at hypervisor? # Xen virtual console
# Include NetBSD 10 compatibility
options COMPAT_100
#
# Because gcc omits the frame pointer for any -O level, the line below
# is needed to make backtraces in DDB work.
#
makeoptions COPTS="-O2 -fno-omit-frame-pointer"
options DKWEDGE_AUTODISCOVER
options DKWEDGE_METHOD_GPT
# File system options
# ffs
options FFS_NO_SNAPSHOT # No FFS snapshot support
options WAPBL # File system journaling support
# Kernel root file system and dump configuration.
config netbsd root on ? type ?
# Print kernel boot time
options BOOT_DURATION
#
# Device configuration
#
# ACPI will be used if present. If not it will fall back to MPBIOS
options MPBIOS # configure CPUs and APICs using MPBIOS
# Provide bug-for-bug compatibility with Linux in MP Table searching
# and parsing. Firecracker relies on these bugs.
options MPTABLE_LINUX_BUG_COMPAT
#pci* at mainbus? bus ?
#acpi0 at mainbus0
# ISA bus support
isa0 at mainbus?
# ISA serial interfaces
com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
# Virtual bus for non-PCI devices
pv* at pvbus?
## Virtio devices
# Use MMIO by default
virtio* at pv?
#virtio* at acpi?
#virtio* at pci? dev ? function ? # Virtio PCI device
include "dev/virtio/virtio.config"
no viomb* at virtio? # XXX ?
no vioscsi* at virtio? # XXX ?
no viogpu* at virtio? # unsupported