Hyper-V

Hyper-V is hypervisor integrated in current versions of Microsoft Windows.]] This article covers the specifics of running Gentoo as a guest operating system inside a Hyper-V virtual machine.

Installation
Hyper-V support for Gentoo guests requires two important steps: kernel support and user-space graphic driver support.

Linux guest support
Below is a summary of the kernel features that need to be compiled into the kernel, or provided as kernel modules, to be able to correctly run Gentoo under Hyper-V. Feature 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/