mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
ea7132e158
Add `whpx` and `whpx_sys` modules that allow using Hyper-V platform as a hypervisor on Windows. This has been tested running on Windows 19H1 and above. BUG=b:213151419 TEST=Compiled and tested on Windows. Change-Id: If91ea6337876b85c9fdafe6ae4ad39fba40c4979 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3700983 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Vaibhav Nagarnaik <vnagarnaik@google.com>
36 lines
753 B
TOML
36 lines
753 B
TOML
[package]
|
|
name = "hypervisor"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
haxm = []
|
|
whpx = []
|
|
|
|
[dependencies]
|
|
bit_field = { path = "../bit_field" }
|
|
bitflags = "1"
|
|
data_model = { path = "../common/data_model" }
|
|
downcast-rs = "1.2.0"
|
|
enumn = "0.1.0"
|
|
fnv = "1"
|
|
libc = "*"
|
|
memoffset = "0.6"
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
sync = { path = "../common/sync" }
|
|
base = { path = "../base" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
kvm = { path = "../kvm" }
|
|
kvm_sys = { path = "../kvm_sys" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
lazy_static = "*"
|
|
thiserror = "*"
|
|
winapi = "*"
|
|
win_util = { path = "../win_util" }
|
|
|
|
[target.'cfg(windows)'.dev-dependencies]
|
|
tempfile = "*"
|