svn commit: r362409 - head/sys/powerpc/conf

Brandon Bergren bdragon at FreeBSD.org
Fri Jun 19 18:43:15 UTC 2020


Author: bdragon
Date: Fri Jun 19 18:43:13 2020
New Revision: 362409
URL: https://svnweb.freebsd.org/changeset/base/362409

Log:
  [PowerPC] Add virtio to GENERIC
  
  Due to kldxref not being able to generate hints for nonnative platforms,
  any cross built VM images do not have /boot/kernel/linker.hints.
  
  This prevents the virtio modules from being loaded, as the fallback code
  will always fail the version check when the hints are missing.
  
  Since we want to be able to generate VM images for 32 bit powerpc, add the
  virtio modules to GENERIC like we do on powerpc64.
  
  Reviewed by:	jhibbits
  Sponsored by:	Tag1 Consulting, Inc.
  Differential Revision:	https://reviews.freebsd.org/D25271

Modified:
  head/sys/powerpc/conf/GENERIC

Modified: head/sys/powerpc/conf/GENERIC
==============================================================================
--- head/sys/powerpc/conf/GENERIC	Fri Jun 19 18:43:02 2020	(r362408)
+++ head/sys/powerpc/conf/GENERIC	Fri Jun 19 18:43:13 2020	(r362409)
@@ -230,3 +230,12 @@ device		snd_uaudio	# USB Audio
 options 	EVDEV_SUPPORT		# evdev support in legacy drivers
 device		evdev			# input event device support
 device		uinput			# install /dev/uinput cdev
+
+# 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_scsi		# VirtIO SCSI device
+device		virtio_balloon		# VirtIO Memory Balloon device
+


More information about the svn-src-all mailing list