svn commit: r335008 - head/sys/riscv/conf
Ruslan Bukin
br at FreeBSD.org
Tue Jun 12 17:55:42 UTC 2018
Author: br
Date: Tue Jun 12 17:55:40 2018
New Revision: 335008
URL: https://svnweb.freebsd.org/changeset/base/335008
Log:
Include VirtIO devices to the GENERIC configuration file.
These are now available in QEMU/RISC-V.
Sponsored by: DARPA, AFRL
Modified:
head/sys/riscv/conf/GENERIC
Modified: head/sys/riscv/conf/GENERIC
==============================================================================
--- head/sys/riscv/conf/GENERIC Tue Jun 12 17:45:15 2018 (r335007)
+++ head/sys/riscv/conf/GENERIC Tue Jun 12 17:55:40 2018 (r335008)
@@ -81,11 +81,21 @@ 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.
More information about the svn-src-all
mailing list