Минимальный конфиг ядра FreeBSD (проверен на версиях 13.x и 14.x) для работы в качестве виртуальной машины на гипервизоре QEMU.

 

cpu        HAMMER
ident        qemu

options     SCHED_ULE
options     PREEMPTION
options     EFIRT
options     VIMAGE
options     INET
options     IPSEC_SUPPORT
options     ROUTE_MPATH
options     FIB_ALGO
options     TCP_OFFLOAD
options     TCP_BLACKBOX
options     TCP_HHOOK
options     TCP_RFC7413
options     SCTP_SUPPORT
options     KERN_TLS
options     FFS
options     SOFTUPDATES
options     UFS_ACL
options     UFS_DIRHASH
options     UFS_GJOURNAL
options     GEOM_LABEL
options     SYSVSHM
options     SYSVMSG
options     SYSVSEM
options     _KPOSIX_PRIORITY_SCHEDULING
options     PRINTF_BUFR_SIZE=128
options     KBD_INSTALL_CDEV
options     HWPMC_HOOKS
options     AUDIT
options     CAPABILITY_MODE
options     CAPABILITIES
options     MAC
options     INCLUDE_CONFIG_FILE
options     RACCT
options     RACCT_DEFAULT_TO_DISABLED
options     RCTL
options     GEOM_ELI
options     GEOM_PART_GPT
options     NO_SWAPPING
options    COMPAT_FREEBSD11 # требуется для rust

# Network file system
options     NFSCL
options     NFSD
options     NFSLOCKD

# Make an SMP-capable kernel by default
options     SMP # Symmetric MultiProcessor Kernel
device      cpufreq

# Bus support.
device        acpi
device        smbios
options     IOMMU
device        pci
options     PCI_HP            # PCI-Express native HotPlug
options     PCI_IOV            # PCI SR-IOV support

# ATA controllers
device        ata            # Legacy ATA/SATA controllers

# ATA/SCSI peripherals
device        scbus
device        ch            # SCSI media changers
device        da            # Direct Access (disks)
device        pass        # Passthrough device (direct ATA/SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device        atkbdc            # AT keyboard controller
device        atkbd            # AT keyboard
device        kbdmux            # keyboard multiplexer

# syscons is the legacy console driver, resembling an SCO console
device        vga            # VGA video card driver
device        sc
options       SC_PIXEL_MODE        # add support for the raster text mode

# vt is the default video console driver
device        vt
device        vt_vga

# Pseudo devices.
device        crypto            # core crypto support
device        aesni            # AES-NI OpenCrypto module
device        loop            # Network loopback
device        ether            # Ethernet support
device        vlan            # 802.1Q VLAN support
device        tuntap            # Packet tunnel.
device        gif            # IPv6 and IPv4 tunneling
device        firmware        # firmware assist module
device        xz            # lzma decompression

# VirtIO support
device        virtio            # Generic VirtIO bus (required)
device        virtio_pci        # VirtIO PCI device
device        vtnet            # VirtIO Ethernet device
device        virtio_blk        # VirtIO Block device
device        virtio_balloon        # VirtIO Memory Balloon device

# Linux KVM paravirtualization support
device        kvm_clock        # KVM paravirtual clock driver

# Netmap provides direct access to TX/RX rings on supported NICs
device        netmap            # netmap(4) support