Difference between revisions of "HyperV Kernel Configuration"

From Funtoo
Jump to navigation Jump to search
(Add kernel parametres)
Line 1: Line 1:
For a Hyper-V generation 2 system, you'll need certain options enabled in the Kernel in this order because latter options aren't available until earlier options are enabled:
For a Hyper-V generation 2 system, you'll need certain options enabled in the Kernel in this order because latter options aren't available until earlier options are enabled:
* CONFIG_HYPERVISOR_GUEST: Processor type and featueres > Linux Guest Support
* 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_PCI_HYPERV: Bus options (PCI etc.) > Hyper-V PCI Frontend
* CONFIG_CONNECTOR: Device Drivers > Connector - unified userspace <-> kernelspase linker
* CONFIG_CONNECTOR: Device Drivers > Connector - unified userspace <-> kernelspase linker
* CONFIG_SCSI_FC_ATTRS: Device Drivers > SCSI device support > SCSI Transports > FiberChannel Transport Attributes
* CONFIG_SCSI_FC_ATTRS: Device Drivers > SCSI device support > SCSI Transports > FiberChannel Transport Attributes
* CONFIG_PARAVIRT: Processor type and features > Linux Guest Support > Enable paravirtualization code
* CONFIG_VSOCKETS: Networking support > Networking options > Virtual Socket protocol
* CONFIG_PARAVIRT_SPINLOCKS: Processor type and features > Linux Guest Support > Paravirtualization layer for spinlocks
* CONFIG_HYPERV_VSOCKETS: Networking support > Networking options > Hyper-V transport for Virtual Sockets
* CONFIG_HYPERV: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V client drivers
* 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_UTILS: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V Utilities driver

Revision as of 20:24, April 14, 2019

For a Hyper-V generation 2 system, you'll need certain options enabled in the Kernel in this order because latter options aren't available until earlier options are enabled:

  • 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_PCI_HYPERV: Bus options (PCI etc.) > Hyper-V PCI Frontend
  • CONFIG_CONNECTOR: Device Drivers > Connector - unified userspace <-> kernelspase linker
  • CONFIG_SCSI_FC_ATTRS: Device Drivers > SCSI device support > SCSI Transports > FiberChannel Transport Attributes
  • CONFIG_VSOCKETS: Networking support > Networking options > Virtual Socket protocol
  • CONFIG_HYPERV_VSOCKETS: Networking support > Networking options > Hyper-V transport for Virtual Sockets
  • 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_NET: Device Drivers > Network device support > Microsoft Hyper-V virtual network driver
  • CONFIG_HYPERV_STORAGE: Device Drivers > SCSI device support > SCSI low-level drivers > Microsoft Hyper-V virtual storage 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