microsoft/openvmm

Public

mirrored fromhttps://github.com/microsoft/openvmmAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
1eed9e299944fdd77354d87a341d4920b2bc3ad4

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

Guide/src/user_guide/openhcl/run.md

50lines · modecode

1# Running OpenHCL
2
3This chapter provides a high-level overview of different ways to launch and
4interact with OpenHCL.
5
6## OpenHCL Platforms
7
8- [On Windows - Hyper-V](./run/hyperv.md)
9- [On Windows - OpenVMM](./run/openvmm.md)
10- [On Linux](./run/openvmm_linux.md)
11
12## High-level Overview
13
14In order to run OpenHCL, an existing host VMM must first load the OpenHCL
15environment into a VM, much akin to existing virtual firmware layers, like UEFI,
16or BIOS[^vtls].
17
18OpenHCL is distributed as an [IGVM] file (Independent Guest Virtual Machine),
19which encapsulates all the directives and data required to launch a particular
20virtual machine configuration on any given virtualization stack.
21
22At this time, the only VMMs which are able to load and host OpenHCL IGVM files
23are Hyper-V, and OpenVMM.
24
25## Obtaining a copy of OpenHCL
26
27To get started, ensure you have a copy of an OpenHCL IGVM firmware image, via
28one of the following options:
29
30### Building OpenHCL Locally
31
32Follow the instructions on: [Building OpenHCL](../../dev_guide/getting_started/build_openhcl.md).
33
34Note: At this time, OpenHCL can only be built on Linux / WSL2.
35
36### Pre-Built Binaries
37
38If you would prefer to try OpenHCL without building it from scratch, you can
39download pre-built copies of OpenHCL IGVM files from
40[OpenVMM CI](https://github.com/microsoft/openvmm/actions/workflows/openvmm-ci.yaml).
41
42Simply select a successful pipeline run (should have a Green checkbox), and
43scroll down to select an appropriate `*-openhcl-igvm` artifact for your
44particular architecture and operating system.
45
46[IGVM]: https://github.com/microsoft/igvm
47
48[^vtls]: Though, unlike UEFI / BIOS, OpenHCL is loaded into a distinct, higher
49 privilege execution context within the VM, called
50 [VTL2](../../reference/architecture/openhcl.md#vtls).
51