Testing Gunyah Hypervisor

June 16, 2023 ยท View on GitHub

We provide two ways of testing the hypervisor:

  1. Using a Docker container
  2. Using local machine

Using a Docker container

A Docker image can been built with the required compiler and QEMU Arm System emulator. See Setup Instructions.

Using a local Linux machine

  1. Build and install a recent QEMU (v7.2 is tested):
    • See Docker support scripts for reference
  2. Download and build the hypervisor source code:
  3. Download and build the latest Linux kernel: Linux instructions
  4. Create a RAM disk for Linux: RAM disk instructions
  5. Generate a device tree for the QEMU platform:
    • See Docker support scripts for reference
  6. Boot the Gunyah Hypervisor with the Linux VM on the QEMU simulator:
    • See Docker support scripts for reference