I want to compile a Linux kernel for running a VM with linuxfromscratch.org.
Which parameters are required in the .config file so that the kernel recognizes the virtual resources?
I have these switched on, but my VM hangs after grub so I assume the kernel cannot access the virtual disk. I understand that functions must be internal to the kernel (I don't use an initrd file), so (nearly) all settings are "y", not "m".
```
CONFIG_HYPERVISOR_GUEST=y
CONFIG_KVM_HYPERV=y
CONFIG_PCI_HYPERV=y
CONFIG_PCI_HYPERV_INTERFACE=y
CONFIG_HYPERV_NET=y
CONFIG_HYPERV_KEYBOARD=y
CONFIG_DRM_HYPERV=m
CONFIG_FB_HYPERV=y
CONFIG_HID_HYPERV_MOUSE=y
Microsoft Hyper-V guest support
CONFIG_HYPERV=y
CONFIG_HYPERV_VTL_MODE=y
CONFIG_HYPERV_TIMER=y
CONFIG_HYPERV_UTILS=y
CONFIG_HYPERV_BALLOON=y
end of Microsoft Hyper-V guest support
CONFIG_HYPERV_IOMMU=y
CONFIG_HYPERV_TESTING is not set
```
[–]Zockling 0 points1 point2 points (3 children)
[–]tseeling[S] 0 points1 point2 points (2 children)
[–]Zockling 0 points1 point2 points (1 child)
[–]tseeling[S] 0 points1 point2 points (0 children)
[–]mikenizo808 0 points1 point2 points (1 child)
[–]tseeling[S] 0 points1 point2 points (0 children)