Home
last modified time | relevance | path

Searched refs:whpx (Results 1 – 21 of 21) sorted by relevance

/external/crosvm/hypervisor/src/
Dwhpx.rs255 let whpx = Whpx::new().expect("failed to instantiate whpx"); in clone_whpx() localVariable
256 let _whpx_clone = whpx.try_clone().unwrap(); in clone_whpx()
261 let whpx = Whpx::new().expect("failed to instantiate whpx"); in check_capability() localVariable
262 assert!(whpx.check_capability(HypervisorCap::UserMemory)); in check_capability()
263 assert!(whpx.check_capability(HypervisorCap::Xcrs)); in check_capability()
264 assert!(whpx.check_capability(HypervisorCap::ImmediateExit)); in check_capability()
265 assert!(!whpx.check_capability(HypervisorCap::S390UserSigp)); in check_capability()
Dlib.rs21 pub mod whpx; module
/external/crosvm/hypervisor/tests/
Dreal_run_addr.rs50 use hypervisor::whpx::*; in test_whpx_real_run_addr()
55 let whpx = Whpx::new().expect("failed to create whpx"); in test_whpx_real_run_addr() localVariable
57 WhpxVm::new(&whpx, 1, guest_mem, CpuId::new(0), false).expect("failed to create vm"); in test_whpx_real_run_addr()
58 (whpx, vm) in test_whpx_real_run_addr()
Ddirty_log.rs55 use hypervisor::whpx::*; in test_whpx_dirty_log()
60 let whpx = Whpx::new().expect("failed to create whpx"); in test_whpx_dirty_log() localVariable
62 WhpxVm::new(&whpx, 1, guest_mem, CpuId::new(0), false).expect("failed to create vm"); in test_whpx_dirty_log()
63 (whpx, vm) in test_whpx_dirty_log()
Dremove_memory.rs51 use hypervisor::whpx::*; in test_whpx_remove_memory()
56 let whpx = Whpx::new().expect("failed to create whpx"); in test_whpx_remove_memory() localVariable
58 WhpxVm::new(&whpx, 1, guest_mem, CpuId::new(0), false).expect("failed to create vm"); in test_whpx_remove_memory()
59 (whpx, vm) in test_whpx_remove_memory()
Dmmio_and_pio.rs41 use hypervisor::whpx::*; in test_whpx_mmio_and_pio()
46 let whpx = Whpx::new().expect("failed to create whpx"); in test_whpx_mmio_and_pio() localVariable
48 WhpxVm::new(&whpx, 1, guest_mem, CpuId::new(0), false).expect("failed to create vm"); in test_whpx_mmio_and_pio()
49 (whpx, vm) in test_whpx_mmio_and_pio()
Dmmio_fetch_memory.rs24 use hypervisor::whpx::*; in test_whpx_mmio_fetch_memory()
50 let whpx = Whpx::new().expect("failed to create whpx"); in test_whpx_mmio_fetch_memory() localVariable
52 WhpxVm::new(&whpx, 1, guest_mem, CpuId::new(0), false, None).expect("failed to create vm"); in test_whpx_mmio_fetch_memory()
Dtsc_offsets.rs66 use hypervisor::whpx::*; in test_whpx_tsc_offsets()
71 let whpx = Whpx::new().expect("failed to create whpx"); in test_whpx_tsc_offsets() localVariable
73 WhpxVm::new(&whpx, 1, guest_mem, CpuId::new(0), false).expect("failed to create vm"); in test_whpx_tsc_offsets()
74 (whpx, vm) in test_whpx_tsc_offsets()
/external/crosvm/devices/tests/irqchip/
Dwhpx.rs19 use hypervisor::whpx::Whpx;
20 use hypervisor::whpx::WhpxFeature;
21 use hypervisor::whpx::WhpxVm;
50 let whpx = Whpx::new().expect("failed to instantiate Whpx"); in get_chip() localVariable
52 let vm = WhpxVm::new(&whpx, num_vcpus, mem, CpuId::new(0), true, None) in get_chip()
Dmain.rs8 mod whpx; module
/external/crosvm/hypervisor/src/whpx/
Dvm.rs49 use crate::whpx::whpx_sys::*;
65 whpx: Whpx, field
87 whpx: &Whpx, in new()
245 whpx: whpx.clone(), in new()
397 whpx: self.whpx.try_clone()?, in try_clone()
754 &self.whpx in get_hypervisor()
790 let whpx = Whpx::new().expect("failed to instantiate whpx"); in new_vm() localVariable
794 &whpx, in new_vm()
Dvcpu.rs1333 let whpx = Whpx::new().expect("failed to instantiate whpx"); in new_vm() localVariable
1337 &whpx, in new_vm()
1471 let whpx = Whpx::new().expect("failed to instantiate whpx"); in xcrs() localVariable
1478 if !whpx.check_capability(HypervisorCap::Xcrs) { in xcrs()
/external/crosvm/src/sys/
Dwindows.rs136 use hypervisor::whpx::Whpx;
138 use hypervisor::whpx::WhpxFeature;
140 use hypervisor::whpx::WhpxVcpu;
142 use hypervisor::whpx::WhpxVm;
1270 whpx: Whpx, in create_whpx_vm()
1294 whpx.check_capability(HypervisorCap::CalibratedTscLeafRequired), in create_whpx_vm()
1300 let mut cpuid = whpx.get_supported_cpuid()?; in create_whpx_vm()
1308 &whpx, in create_whpx_vm()
1358 match hypervisor::whpx::Whpx::is_enabled() { in get_default_hypervisor()
1687 if hypervisor::whpx::Whpx::is_enabled() { in run_config_inner()
[all …]
/external/crosvm/devices/src/irqchip/
Dmod.rs33 mod whpx;
34 pub use self::whpx::WhpxSplitIrqChip;
Dwhpx.rs22 use hypervisor::whpx::WhpxVcpu;
23 use hypervisor::whpx::WhpxVm;
/external/crosvm/hypervisor/
DCargo.toml9 whpx = []
/external/crosvm/docs/book/src/building_crosvm/
Dwindows.md59 cargo build --features all-msvc64,whpx
/external/crosvm/devices/
DCargo.toml40 whpx = []
/external/crosvm/
DCargo.toml249 whpx = ["devices/whpx", "hypervisor/whpx"]
/external/crosvm/docs/book/src/running_crosvm/
Dadvanced_usage.md136 - On Windows: "whpx", "haxm", "ghaxm", "gvm"
/external/crosvm/src/sys/windows/
Drun_vcpu.rs60 use hypervisor::whpx::WhpxVcpu;