]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Add hyperv-keyboard kernel module for Hyper-V Gen2 VM
authorVaughan Cao <vaughan.cao@oracle.com>
Thu, 9 Oct 2014 08:41:31 +0000 (16:41 +0800)
committerHarald Hoyer <harald@redhat.com>
Fri, 24 Oct 2014 07:10:14 +0000 (09:10 +0200)
The synthetic keyboard of a Gen2 Linux VM doesn't work before the
hyperv_keyboard module is loaded. Without it, we can't cancel the media check
phase if boot with rd.live.check option.
Gen1 Linux VM doesn't have the same issue because the host emulates the legacy
i8042 keyboard for Gen1 VM.

Signed-off-by: Vaughan Cao <vaughan.cao@oracle.com>
modules.d/90kernel-modules/module-setup.sh

index eea30e694a82c48b80b216b8d470a1d078077858..83b899558d20fe0f18075673f8ff0804de7b6a46 100755 (executable)
@@ -45,7 +45,7 @@ installkernel() {
             atkbd i8042 usbhid hid-apple hid-sunplus hid-cherry hid-logitech \
             hid-logitech-dj hid-microsoft hid-lcpower firewire-ohci \
             pcmcia usb_storage nvme hid-hyperv hv-vmbus \
-            sdhci_acpi
+            sdhci_acpi hyperv-keyboard
 
         if [[ "$(uname -p)" == arm* ]]; then
             # arm specific modules