crosvm/hypervisor/Cargo.toml
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

59 lines
1.4 KiB
TOML

[package]
name = "hypervisor"
version = "0.1.0"
authors = ["The ChromiumOS Authors"]
edition = "2021"
[features]
enable_haxm_tests = []
haxm = []
whpx = []
halla = []
geniezone = []
gvm = []
gunyah = []
noncoherent-dma = []
[dependencies]
anyhow = { workspace = true }
bit_field = { workspace = true }
bitflags = "2.2.1"
cfg-if = { workspace = true }
cros_fdt = { workspace = true }
data_model = { workspace = true }
downcast-rs = "1.2.0"
enumn = { workspace = true }
fnv = "1"
libc = { workspace = true }
resources = { workspace = true }
serde = { workspace = true, features = [ "derive" ] }
serde_json = { workspace = true }
snapshot = { workspace = true }
sync = { workspace = true }
base = { workspace = true }
vm_memory = { workspace = true }
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
kvm_sys = { workspace = true }
[target.'cfg(target_arch = "aarch64")'.dependencies]
aarch64_sys_reg = { workspace = true }
[target.'cfg(target_arch = "x86_64")'.dev-dependencies]
hypervisor_test_macro = { workspace = true }
zerocopy = { version = "0.8.13", features = ["derive"] }
[target.'cfg(windows)'.dependencies]
thiserror = { workspace = true }
winapi = "0.3"
win_util = { path = "../win_util" }
[target.'cfg(windows)'.dependencies.windows]
workspace = true
features = [
"Win32_Foundation",
"Win32_System_Memory",
]
[target.'cfg(windows)'.dev-dependencies]
tempfile = "3"