From 3a17a693afeaa11eaac1c7752312239ff26f3a21 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Mon, 4 Nov 2013 14:55:18 +0100 Subject: [PATCH] modules_load: add Microsoft Hyper-V initramfs support through "dohyperv" --- arch/x86/modules_load | 3 +++ arch/x86_64/modules_load | 3 +++ defaults/initrd.defaults | 2 +- defaults/modules_load | 3 +++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/x86/modules_load b/arch/x86/modules_load index f1242d5..cb21d59 100644 --- a/arch/x86/modules_load +++ b/arch/x86/modules_load @@ -34,3 +34,6 @@ MODULES_CRYPT="${MODULES_CRYPTO}" # Virtio support (KVM mainly) MODULES_VIRTIO="virtio virtio_balloon virtio_console virtio_net virtio_blk virtio_scsi virtio_pci virtio_ring" + +# Microsoft Hyper-V support +MODULES_HYPERV="hv_storvsc hv_netvsc hyperv_fb" diff --git a/arch/x86_64/modules_load b/arch/x86_64/modules_load index f1242d5..cb21d59 100644 --- a/arch/x86_64/modules_load +++ b/arch/x86_64/modules_load @@ -34,3 +34,6 @@ MODULES_CRYPT="${MODULES_CRYPTO}" # Virtio support (KVM mainly) MODULES_VIRTIO="virtio virtio_balloon virtio_console virtio_net virtio_blk virtio_scsi virtio_pci virtio_ring" + +# Microsoft Hyper-V support +MODULES_HYPERV="hv_storvsc hv_netvsc hyperv_fb" diff --git a/defaults/initrd.defaults b/defaults/initrd.defaults index 441ed8c..ba1e3a9 100755 --- a/defaults/initrd.defaults +++ b/defaults/initrd.defaults @@ -84,5 +84,5 @@ DEFAULT_NFSOPTIONS="ro,nolock,rsize=1024,wsize=1024" # Only sections that are in by default or those that # are not module groups need to be defined here... -HWOPTS="keymap cache modules pata sata scsi usb firewire waitscan lvm dmraid mdadm fs net virtio" +HWOPTS="keymap cache modules pata sata scsi usb firewire waitscan lvm dmraid mdadm fs net virtio hyperv" MY_HWOPTS="modules pata sata scsi usb firewire waitscan dmraid mdadm fs net iscsi crypto plymouth virtio" diff --git a/defaults/modules_load b/defaults/modules_load index 456fd36..0cdd09a 100644 --- a/defaults/modules_load +++ b/defaults/modules_load @@ -34,3 +34,6 @@ MODULES_CRYPT="${MODULES_CRYPTO}" # Virtio support (KVM mainly) MODULES_VIRTIO="virtio virtio_balloon virtio_console virtio_net virtio_blk virtio_scsi virtio_pci virtio_ring" + +# Microsoft Hyper-V support +MODULES_HYPERV="hv_storvsc hv_netvsc hyperv_fb"