Hyper-V

Hyper-V is Microsoft's enterprise-class hypervisor. This article Article description::explains how to run Gentoo as a guest operating system on Microsoft's Hyper-V hypervisor.

Getting Hyper-V support into Gentoo requires two important steps: kernel support and user-space graphic driver support.

Installation
This section shows the reader how to enable Gentoo to run as a guest on a Hyper-V hypervisor.

Linux guest support
Getting the kernel configured to handle Hyper-V is not terribly complicated. Below is a summary of the kernel features that need to be available to run Gentoo under Hyper-V. The features names are subject to change, so be sure to search the kernel's menuconfig for features containing the string.

To have all necessary options appear, there is an initial dependency chain. "Linux guest support" and "ACPI" must be enabled first in order for "Microsoft Hyper-V client drivers" to appear. "Microsoft Hyper-V client drivers" is necessary for most, if not all, other Hyper-V options to be available.

Graphics
For X11 (graphical) support the CONFIG_DRM_FBDEV_EMULATION kernel option is required:

Emerge
If X server graphical support is desired through fbdev, be sure to adjust :

Next (re)emerge xorg-drivers package:

Removal
Removing the Hyper-V support is as simple as disabling the related kernel options (reverse the steps in the Kernel section above.

External resources

 * http://www.altaro.com/hyper-v/linux-on-hyper-v/