Home
last modified time | relevance | path

Searched refs:Kvm (Results 1 – 10 of 10) sorted by relevance

/external/crosvm/kvm/src/
Dlib.rs111 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/
Dreal_run_adder.rs29 let kvm = Kvm::new().expect("new kvm failed"); in test_run()
Ddirty_log.rs30 let kvm = Kvm::new().expect("new kvm failed"); in test_run()
Dread_only_memory.rs32 let kvm = Kvm::new().expect("new kvm failed"); in test_run()
/external/crosvm/arch/src/
Dlib.rs22 use kvm::{IoeventAddress, Kvm, Vcpu, Vm};
48 pub kvm: Kvm,
/external/crosvm/x86_64/src/
Dcpuid.rs113 pub fn setup_cpuid(kvm: &kvm::Kvm, vcpu: &kvm::Vcpu, cpu_id: u64, nrcpus: u64) -> Result<()> { in setup_cpuid() argument
Dlib.rs325 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/
Dmod.rs30 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()
Dprocess.rs470 kvm: &Kvm, in handle_socket() argument
/external/crosvm/aarch64/src/
Dlib.rs212 let kvm = Kvm::new().map_err(Error::CreateKvm)?; in build_vm()
500 _kvm: &Kvm, in configure_vcpu() argument