]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
install virtio* modules in the generic case
authorHarald Hoyer <harald@redhat.com>
Tue, 9 Oct 2012 15:43:44 +0000 (17:43 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 9 Oct 2012 15:44:29 +0000 (17:44 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=864012

modules.d/40network/module-setup.sh
modules.d/90kernel-modules/module-setup.sh

index 0546ba0753099faf8b719d12da858065b4fad9d3..34736028ea4f72e18b657d27dc50a0c2ef20dc55 100755 (executable)
@@ -65,15 +65,7 @@ installkernel() {
         | net_module_filter | instmods
 
     instmods =drivers/net/phy
-    instmods ecb arc4
-    # bridge modules
-    instmods bridge stp llc
-    instmods ipv6
-    # bonding
-    instmods bonding
-    # vlan
-    instmods 8021q
-    instmods af_packet
+    instmods ecb arc4 bridge stp llc ipv6 bonding 8021q af_packet virtio_net
 }
 
 install() {
index f8e2be79613f58278b2f55b854aedc389b2fa457..ad2b7c183851501626ce1d257e42bb696b95262e 100755 (executable)
@@ -46,6 +46,10 @@ installkernel() {
         hostonly='' instmods atkbd i8042 usbhid hid-apple hid-sunplus hid-cherry hid-logitech hid-logitech-dj hid-microsoft ehci-hcd ohci-hcd uhci-hcd xhci-hcd hid_generic
         # install unix socket support
         hostonly='' instmods unix
+
+        # install virtual machine support
+        instmods virtio virtio_blk virtio_ring virtio_pci virtio_scsi
+
         instmods "=drivers/pcmcia" =ide "=drivers/usb/storage"
         find_kernel_modules  |  block_module_filter  |  instmods
         # if not on hostonly mode, install all known filesystems,