crosvm/hypervisor
Pierre-Clément Tosi 65d1f5c7ab hypervisor: Support SMCCC KVM_EXIT_HYPERCALL
Implement the recent hypercall framework for KVM_EXIT_HYPERCALL, using
the KVM SMCCC filter on AArch64. x86 KVM also supports hypercall
handling in VMMs (currently one) but is left unimplemented for now.

BUG=b:460349550
TEST=tools/presubmit

Change-Id: I28f27dc6433e7681024b284bf2627a038f146c2f
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/7253051
Reviewed-by: Frederick Mayle <fmayle@google.com>
Auto-Submit: Pierre-Clément Tosi <ptosi@google.com>
Commit-Queue: Frederick Mayle <fmayle@google.com>
2025-12-18 10:36:36 -08:00
..
hypervisor_test_macro rand: Use rand::random() to prepare for 0.9.x bump 2025-12-02 06:49:39 -08:00
src hypervisor: Support SMCCC KVM_EXIT_HYPERCALL 2025-12-18 10:36:36 -08:00
tests Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
Cargo.toml hypervisor: Support SMCCC KVM_EXIT_HYPERCALL 2025-12-18 10:36:36 -08:00
README.md crosvm: Initialize Halla hypervisor 2025-08-28 14:33:13 -07:00

Hypervisor Support

Multiple hypervisor backends are supported. See Advanced Usage for overriding the default backend.

Hypervisors added to crosvm must meet the following requirements:

  • Hypervisor code must be buildable in crosvm upstream.
    • Within reason, crosvm maintainers will ensure the hypervisor's code continues to build.
  • Hypervisors are not required to be tested upstream.
    • We can't require testing upstream because some hypervisors require specialized hardware.
    • When not tested upstream, the hypervisor's maintainers are expected to test it downstream. If a change to crosvm breaks something downstream, then the hypervisor's maintainers are expected to supply the fix and can't expect a revert of the culprit change to be accepted upstream.

KVM

  • Platforms: Linux
  • Tested upstream: yes

KVM is crosvm's preferred hypervisor for Linux.

WHPX

HAXM

Android Specific

The hypervisors in this section are used as backends of the Android Virtualization Framework.

Geniezone

Gunyah

Halla