Lines Matching refs:kvm
25 type KvmCpuId = kvm::CpuId;
301 &self.kvm in get_hypervisor()
673 let mut kvm = KvmCpuId::new(cpuid.cpu_id_entries.len()); in from() localVariable
674 let entries = kvm.mut_entries_slice(); in from()
687 kvm in from()
1156 let mut kvm = kvm_xcrs { in to_kvm_xcrs() localVariable
1161 kvm.xcrs[i].xcr = xcr.id as u32; in to_kvm_xcrs()
1162 kvm.xcrs[i].value = xcr.value; in to_kvm_xcrs()
1164 kvm in to_kvm_xcrs()
1218 let kvm = Kvm::new().unwrap(); in get_msr_index_list() localVariable
1219 let msr_list = kvm.get_msr_index_list().unwrap(); in get_msr_index_list()
1233 let kvm = Kvm::new().unwrap(); in check_vm_arch_capability() localVariable
1235 let vm = KvmVm::new(&kvm, gm).unwrap(); in check_vm_arch_capability()
1405 let kvm = Kvm::new().unwrap(); in clock_handling() localVariable
1407 let vm = KvmVm::new(&kvm, gm).unwrap(); in clock_handling()
1415 let kvm = Kvm::new().unwrap(); in set_gsi_routing() localVariable
1417 let vm = KvmVm::new(&kvm, gm).unwrap(); in set_gsi_routing()
1457 let kvm = Kvm::new().unwrap(); in set_identity_map_addr() localVariable
1459 let vm = KvmVm::new(&kvm, gm).unwrap(); in set_identity_map_addr()
1465 let kvm = Kvm::new().unwrap(); in mp_state() localVariable
1467 let vm = KvmVm::new(&kvm, gm).unwrap(); in mp_state()
1476 let kvm = Kvm::new().unwrap(); in enable_feature() localVariable
1478 let vm = KvmVm::new(&kvm, gm).unwrap(); in enable_feature()
1501 let kvm = Kvm::new().unwrap(); in debugregs() localVariable
1503 let vm = KvmVm::new(&kvm, gm).unwrap(); in debugregs()
1514 let kvm = Kvm::new().unwrap(); in xcrs() localVariable
1515 if !kvm.check_capability(&HypervisorCap::Xcrs) { in xcrs()
1520 let vm = KvmVm::new(&kvm, gm).unwrap(); in xcrs()
1531 let kvm = Kvm::new().unwrap(); in get_msrs() localVariable
1533 let vm = KvmVm::new(&kvm, gm).unwrap(); in get_msrs()
1553 let kvm = Kvm::new().unwrap(); in set_msrs() localVariable
1555 let vm = KvmVm::new(&kvm, gm).unwrap(); in set_msrs()
1574 let kvm = Kvm::new().unwrap(); in get_hyperv_cpuid() localVariable
1576 let vm = KvmVm::new(&kvm, gm).unwrap(); in get_hyperv_cpuid()