Search notes:
Windows: Hyper-V
Hyper-V provides hardware virtualization , that is: each virtual machine run on its own virtual hardware, such as virtual hard drives, devices etc.
Hyper-V is available on all but the home edition of 64-bit version of
Windows 10 .
If virtualization is enabled, not only the guest operating systems, but the host OS itself runs on top of the Hyper-V virtualization layer. Yet, the host OS still has full control over all hardware.
Every Hyper-V based VM is associated with a VHDx file.
Enabling Hyper-V
Use an elevated PowerShell console to check if Hyper-V is enabled:
PS:\> get-windowsOptionalFeature -online | where-object {$_.featureName -like "*Hyper-V*"}
The Processor needs SLAT (Second Level address translation) to use Hyper-V.
PS C:\> enable-windowsOptionalFeature -online -featureName Microsoft-Hyper-V -all
Do you want to restart the computer to complete this operation now?
…
dism /online /enable-feature /all /featureName:Microsoft-Hyper-V
TODO
What does the following output mean:
C:\> systeminfo | findstr Hyper-V
…
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
With elevated privileges:
C:\> dism /online /get-features | find "Microsoft-Hyper-V" | sort
Feature Name : Microsoft-Hyper-V
Feature Name : Microsoft-Hyper-V-All
Feature Name : Microsoft-Hyper-V-Hypervisor
Feature Name : Microsoft-Hyper-V-Management-Clients
Feature Name : Microsoft-Hyper-V-Management-PowerShell
Feature Name : Microsoft-Hyper-V-Services
Feature Name : Microsoft-Hyper-V-Tools-All
Drivers
Some drivers that are required for Hyper-V include
Linux kernel source code
The
source code of the
Linux kernel Stores Hyper-V related code in
drivers/hv
arch/x86/hyperv
and arch/arm64/hyperv
tools/hv
individual device drivers (such as drivers/scsi
, drivers/net
, drivers/clocksource
etc)
Some of the «individual files» can be identified in the
Hyper-V/Azure CORE AND DRIVERS section of the
MAINTAINERS
file:
$ sed -n '/Hyper-V\/Azure CORE AND DRIVERS/,/^\s*$/p' MAINTAINERS | grep '^F:'
See also
A subset of Hyper-V, the
Virtual Machine Platform , is used to run
WSL 2 .
usbipd.exe
shares locally connected USB devices to Hyper-V.
C:\ProgramData\Microsoft\Windows\Hyper-V\