/external/crosvm/hypervisor/src/kvm/ |
D | mod.rs | 155 pub struct KvmVm { struct 164 impl KvmVm { argument 166 pub fn new(kvm: &Kvm, guest_mem: GuestMemory) -> Result<KvmVm> { in new() argument 190 Ok(KvmVm { in new() 423 impl Vm for KvmVm { implementation 425 Ok(KvmVm { in try_clone() 638 impl AsRawDescriptor for KvmVm { implementation 1197 KvmVm::new(&kvm, gm).unwrap(); in create_vm() 1204 let vm = KvmVm::new(&kvm, gm).unwrap(); in clone_vm() 1212 let vm = KvmVm::new(&kvm, gm).unwrap(); in send_vm() [all …]
|
D | aarch64.rs | 13 use super::{KvmCap, KvmVcpu, KvmVm}; 19 impl KvmVm { impl 78 impl VmAArch64 for KvmVm { implementation 112 Ok(Box::new(KvmVm::create_vcpu(self, id)?)) in create_vcpu() 276 let vm = KvmVm::new(&kvm, gm).unwrap(); in set_gsi_routing()
|
D | x86_64.rs | 18 use super::{Kvm, KvmVcpu, KvmVm}; 109 impl KvmVm { impl 299 impl VmX86_64 for KvmVm { implementation 307 Ok(Box::new(KvmVm::create_vcpu(self, id)?)) in create_vcpu() 1235 let vm = KvmVm::new(&kvm, gm).unwrap(); in check_vm_arch_capability() 1407 let vm = KvmVm::new(&kvm, gm).unwrap(); in clock_handling() 1417 let vm = KvmVm::new(&kvm, gm).unwrap(); in set_gsi_routing() 1459 let vm = KvmVm::new(&kvm, gm).unwrap(); in set_identity_map_addr() 1467 let vm = KvmVm::new(&kvm, gm).unwrap(); in mp_state() 1478 let vm = KvmVm::new(&kvm, gm).unwrap(); in enable_feature() [all …]
|
/external/crosvm/devices/src/irqchip/kvm/ |
D | aarch64.rs | 9 use hypervisor::kvm::{KvmVcpu, KvmVm}; 30 pub(super) vm: KvmVm, 57 pub fn new(vm: KvmVm, num_vcpus: usize) -> Result<KvmKernelIrqChip> { in new() argument
|
D | mod.rs | 184 use hypervisor::kvm::{Kvm, KvmVm}; 199 let vm = KvmVm::new(&kvm, mem).expect("failed to instantiate vm"); in create_kvm_kernel_irqchip() 213 let vm = KvmVm::new(&kvm, mem).expect("failed to instantiate vm"); in mp_state()
|
D | x86_64.rs | 13 use hypervisor::kvm::{KvmVcpu, KvmVm}; 56 pub(super) vm: KvmVm, 63 pub fn new(vm: KvmVm, num_vcpus: usize) -> Result<KvmKernelIrqChip> { in new() argument 142 vm: KvmVm, 178 vm: KvmVm, in new() argument 718 let vm = KvmVm::new(&kvm, mem).expect("failed tso instantiate vm"); in get_kernel_chip() 734 let vm = KvmVm::new(&kvm, mem).expect("failed tso instantiate vm"); in get_split_chip()
|
/external/crosvm/x86_64/src/ |
D | test_integration.rs | 43 let vm = KvmVm::new(&kvm, guest_mem).expect("failed to create kvm vm"); in simple_kvm_kernel_irqchip_test() 59 let vm = KvmVm::new(&kvm, guest_mem).expect("failed to create kvm vm"); in simple_kvm_split_irqchip_test()
|
D | cpuid.rs | 198 let vm = hypervisor::kvm::KvmVm::new(&kvm, guest_mem).unwrap(); in feature_and_vendor_name()
|
/external/crosvm/src/ |
D | linux.rs | 49 use hypervisor::kvm::{Kvm, KvmVcpu, KvmVm}; 2269 vm: &KvmVm, in create_kvm_kernel_irq_chip() argument 2279 vm: &KvmVm, in create_kvm_split_irq_chip() argument 2300 let vm = KvmVm::new(&kvm, guest_mem).map_err(Error::CreateVm)?; in run_config()
|