对于 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-07-03 17:51:12 被caocaofff编辑 ,原因:
收藏
分享
我的博客:cboot.org
最新回复 (0)
返回