Searched refs:Kvm (Results 1 – 10 of 10) sorted by relevance
/external/crosvm/kvm/src/ |
D | lib.rs | 111 pub struct Kvm { struct 115 impl Kvm { argument 117 pub fn new() -> Result<Kvm> { in new() 125 Ok(Kvm { in new() 229 impl AsRawFd for Kvm { implementation 301 pub fn new(kvm: &Kvm, guest_mem: GuestMemory) -> Result<Vm> { in new() argument 1125 pub fn new(id: c_ulong, kvm: &Kvm, vm: &Vm) -> Result<Vcpu> { in new() argument 1761 Kvm::new().unwrap(); in new() 1766 let kvm = Kvm::new().unwrap(); in create_vm() 1773 let kvm = Kvm::new().unwrap(); in check_extension() [all …]
|
/external/crosvm/kvm/tests/ |
D | real_run_adder.rs | 29 let kvm = Kvm::new().expect("new kvm failed"); in test_run()
|
D | dirty_log.rs | 30 let kvm = Kvm::new().expect("new kvm failed"); in test_run()
|
D | read_only_memory.rs | 32 let kvm = Kvm::new().expect("new kvm failed"); in test_run()
|
/external/crosvm/arch/src/ |
D | lib.rs | 22 use kvm::{IoeventAddress, Kvm, Vcpu, Vm}; 48 pub kvm: Kvm,
|
/external/crosvm/x86_64/src/ |
D | cpuid.rs | 113 pub fn setup_cpuid(kvm: &kvm::Kvm, vcpu: &kvm::Vcpu, cpu_id: u64, nrcpus: u64) -> Result<()> { in setup_cpuid() argument
|
D | lib.rs | 325 let kvm = Kvm::new().map_err(Error::CreateKvm)?; in build_vm() 549 fn create_vm(kvm: &Kvm, split_irqchip: bool, mem: GuestMemory) -> Result<Vm> { in create_vm() argument 748 kvm: &Kvm, in configure_vcpu() argument
|
/external/crosvm/src/plugin/ |
D | mod.rs | 30 use kvm::{Datamatch, IoeventAddress, Kvm, Vcpu, VcpuExit, Vm}; 370 kvm: &Kvm, in run_vcpus() argument 607 let kvm = Kvm::new().map_err(Error::CreateKvm)?; in run_config()
|
D | process.rs | 470 kvm: &Kvm, in handle_socket() argument
|
/external/crosvm/aarch64/src/ |
D | lib.rs | 212 let kvm = Kvm::new().map_err(Error::CreateKvm)?; in build_vm() 500 _kvm: &Kvm, in configure_vcpu() argument
|