[转帖]Hyper-V Kernel Configuration 内核编译时添加Hyper-V支持模块
2021-7-3 1178

对于 Hyper-V 第 2 代系统,您需要按此顺序在内核中启用某些选项,因为在启用较早的选项之前,后面的选项不可用: 

 

CONFIG_HYPERVISOR_GUEST: Processor type and featueres > Linux Guest Support

CONFIG_PARAVIRT: Processor type and features > Linux Guest Support > Enable paravirtualization code

CONFIG_PARAVIRT_SPINLOCKS: Processor type and features > Linux Guest Support > Paravirtualization layer for spinlocks

CONFIG_CONNECTOR: Device Drivers > Connector - unified userspace <-> kernelspase linker

CONFIG_SCSI_FC_ATTRS: Device Drivers > SCSI device support > SCSI Transports > FiberChannel Transport Attributes

CONFIG_HYPERV: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V client drivers

CONFIG_HYPERV_UTILS: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V Utilities driver

CONFIG_HYPERV_BALLOON: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V Balloon driver

CONFIG_HYPERV_STORAGE: Device Drivers > SCSI device support > SCSI low-level drivers > Microsoft Hyper-V virtual storage driver

CONFIG_HYPERV_NET: Device Drivers > Network device support > Microsoft Hyper-V virtual network driver

CONFIG_HYPERV_KEYBOARD: Device Drivers > Input device support > Hardware I/O ports > Microsoft Synthetic Keyboard driver

CONFIG_FB_HYPERV: Device Drivers > Graphics support > Frame buffer Devices > Microsoft Hyper-V Synthetic Video support

CONFIG_HID_HYPERV_MOUSE: Device Drivers > HID support > Special HID drivers > Microsoft Hyper-V mouse driver

CONFIG_PCI_HYPERV: Bus options (PCI etc.) > Hyper-V PCI Frontend

CONFIG_VSOCKETS: Networking support > Networking options > Virtual Socket protocol

CONFIG_HYPERV_VSOCKETS: Networking support > Networking options > Hyper-V transport for Virtual Sockets

 

转自:https://www.funtoo.org/HyperV_Kernel_Configuration

最后于 2021-7-3 被caocaofff编辑 ,原因:
收藏
点赞
道具卡
分享
官方QQ群:872611894(群密码:pecmd.net)
最新回复 (0)
返回