Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2020 18:43:13 +0000 (UTC)
From:      Brandon Bergren <bdragon@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r362409 - head/sys/powerpc/conf
Message-ID:  <202006191843.05JIhDRH075290@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006191843.05JIhDRH075290>