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.
Hyper-V is an optional feature.
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.
Apparently, this architecture is referred to as hypervisor level 1.
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.
In PowerShell
PS C:\> enable-windowsOptionalFeature -online -featureName Microsoft-Hyper-V -all
Do you want to restart the computer to complete this operation now?
…
In cmd.exe with Dism.exe
dism /online /enable-feature /all /featureName:Microsoft-Hyper-V
Apparently, running Hyper-V and VirtualBox VM is mutually exclusive (which I also discovered when I installed a Windows Subsystem for Linux distribution) distribution).

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
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.
C:\Program Files\Hyper-V
virtmgmt.msc
Docker (on Windows) runs on top of Hyper-V.
The value of A hypervisor under System Summary in msinfo32.exe
usbipd.exe shares locally connected USB devices to Hyper-V.
In Windows Subsystem for Linux, /sys/bus/vmbu represents the bus to Hyper-V.
C:\ProgramData\Microsoft\Windows\Hyper-V\
Windows Sandbox (another optional feature) runs on top of Hyper-V.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1740476129, '18.117.11.119', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/optional-features/Hyper-V/index(138): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78