mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 09:33:01 +00:00
1d6be0f345
We need to verify that a hypervisor is flushing a TLB on region removal. This test removes a region in the middle of the VM running, which allows us to verify that MMIO occurs on the next instruction, rather than a read from an unmapped region. BUG=b:333728516 TEST=presubmit Change-Id: I215520ecfd4181a1e1ebd3cb5d784b3db94e799a Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5690379 Reviewed-by: Idan Raiter <idanr@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Noah Gold <nkgold@google.com>
51 lines
1.2 KiB
TOML
51 lines
1.2 KiB
TOML
[package]
|
|
name = "hypervisor"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
haxm = []
|
|
whpx = []
|
|
geniezone = []
|
|
gunyah = []
|
|
noncoherent-dma = []
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
bit_field = { path = "../bit_field" }
|
|
bitflags = "2.2.1"
|
|
cros_fdt = { path = "../cros_fdt" }
|
|
data_model = { path = "../common/data_model" }
|
|
downcast-rs = "1.2.0"
|
|
enumn = "0.1.0"
|
|
fnv = "1"
|
|
libc = "0.2"
|
|
once_cell = "1.7"
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
serde_json = { version = "1" }
|
|
sync = { path = "../common/sync" }
|
|
base = { path = "../base" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
|
kvm_sys = { path = "../kvm_sys" }
|
|
|
|
[target.'cfg(target_arch = "x86_64")'.dev-dependencies]
|
|
hypervisor_test_macro = { path = "hypervisor_test_macro" }
|
|
zerocopy = { version = "0.7", features = ["derive"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
thiserror = "1"
|
|
winapi = "0.3"
|
|
win_util = { path = "../win_util" }
|
|
|
|
[target.'cfg(windows)'.dependencies.windows]
|
|
version = "0.39.0"
|
|
features = [
|
|
"Win32_Foundation",
|
|
"Win32_System_Memory",
|
|
]
|
|
|
|
[target.'cfg(windows)'.dev-dependencies]
|
|
tempfile = "3"
|