diff options
author | Brandon Bergren <bdragon@FreeBSD.org> | 2020-06-19 18:43:13 +0000 |
---|---|---|
committer | Brandon Bergren <bdragon@FreeBSD.org> | 2020-06-19 18:43:13 +0000 |
commit | fb0543afa82448433a69509d434dfb7fb6746f86 (patch) | |
tree | d590780e17886b31fe0326163f49763ab265a7eb /sys/powerpc/conf | |
parent | 8415f755f1d25c350d9570172d2ed0470e8a35a2 (diff) | |
download | src-fb0543afa82448433a69509d434dfb7fb6746f86.tar.gz src-fb0543afa82448433a69509d434dfb7fb6746f86.zip |
[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
Notes
Notes:
svn path=/head/; revision=362409
Diffstat (limited to 'sys/powerpc/conf')
-rw-r--r-- | sys/powerpc/conf/GENERIC | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/powerpc/conf/GENERIC b/sys/powerpc/conf/GENERIC index c17abd5000b3..114a194a4e0d 100644 --- a/sys/powerpc/conf/GENERIC +++ b/sys/powerpc/conf/GENERIC @@ -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 + |