Include VirtIO devices to the GENERIC configuration file.

These are now available in QEMU/RISC-V.

Sponsored by:	DARPA, AFRL
This commit is contained in:
Ruslan Bukin 2018-06-12 17:55:40 +00:00
parent 2d53a67c2c
commit 6fdc57357e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335008

View File

@ -81,12 +81,22 @@ options INTRNG
# RISC-V SBI console
device rcons
# 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_mmio # VirtIO MMIO bus
# Uncomment for memory disk
# options MD_ROOT
# options MD_ROOT_SIZE=32768 # 32MB ram disk
# makeoptions MFS_IMAGE=/path/to/img
# options ROOTDEVNAME=\"ufs:/dev/md0\"
# Uncomment for virtio block device
# options ROOTDEVNAME=\"ufs:/dev/vtbd0\"
# Debugging support. Always need this:
options KDB # Enable kernel debugger support.
options KDB_TRACE # Print a stack trace for a panic.