crosvm/hypervisor/tests
Peter Collingbourne 87ddd08405 hypervisor: change the last KvmVm::new argument to a struct
We are going to need to start passing a new arch-dependent configuration
parameter to KvmVm::new in addition to protection_type. Since we can't
[cfg] a function argument, and to avoid churning the tests the next time
we need another argument, let's create a hypervisor::Config struct and
start passing protection_type that way.

Bug: b:234779841
Change-Id: I42ce9438b064658ebb9732e78ee5c82dac2636b6
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3892140
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
2022-09-13 17:14:44 +00:00
..
dirty_log.rs hypervisor: change the last KvmVm::new argument to a struct 2022-09-13 17:14:44 +00:00
mmio_and_pio.rs hypervisor: change the last KvmVm::new argument to a struct 2022-09-13 17:14:44 +00:00
mmio_fetch_memory.rs crosvm: resync with downstream after running clippy 2022-08-25 20:45:12 +00:00
read_only_memory.rs hypervisor: change the last KvmVm::new argument to a struct 2022-09-13 17:14:44 +00:00
real_run_addr.rs hypervisor: change the last KvmVm::new argument to a struct 2022-09-13 17:14:44 +00:00
remove_memory.rs hypervisor: change the last KvmVm::new argument to a struct 2022-09-13 17:14:44 +00:00
tsc_offsets.rs hypervisor: change the last KvmVm::new argument to a struct 2022-09-13 17:14:44 +00:00