/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/ |
D | ucall.c | 38 uint64_t get_ucall(struct kvm_vm *vm, uint32_t vcpu_id, struct ucall *uc) in get_ucall() argument 40 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall() 46 vcpu_regs_get(vm, vcpu_id, ®s); in get_ucall() 50 vcpu_run_complete_io(vm, vcpu_id); in get_ucall()
|
D | vmx.c | 43 int vcpu_enable_evmcs(struct kvm_vm *vm, int vcpu_id) in vcpu_enable_evmcs() argument 52 vcpu_ioctl(vm, vcpu_id, KVM_ENABLE_CAP, &enable_evmcs_cap); in vcpu_enable_evmcs()
|
/external/bcc/examples/tracing/ |
D | kvm_hypercall.txt | 18 2445.577129000 CPU 0/KVM 8896 KVM_ENTRY vcpu_id : 0 21 2445.577149000 CPU 0/KVM 8896 KVM_ENTRY vcpu_id : 0 24 2445.577164000 CPU 0/KVM 8896 KVM_ENTRY vcpu_id : 0 27 2445.577179000 CPU 0/KVM 8896 KVM_ENTRY vcpu_id : 0 30 2445.577194000 CPU 0/KVM 8896 KVM_ENTRY vcpu_id : 0
|
/external/crosvm/devices/src/irqchip/kvm/ |
D | x86_64.rs | 105 fn get_lapic_state(&self, vcpu_id: usize) -> Result<LapicState> { in get_lapic_state() 106 match self.vcpus.lock().get(vcpu_id) { in get_lapic_state() 113 fn set_lapic_state(&mut self, vcpu_id: usize, state: &LapicState) -> Result<()> { in set_lapic_state() 114 match self.vcpus.lock().get(vcpu_id) { in set_lapic_state() 250 fn interrupt_requested(&self, vcpu_id: usize) -> bool { in interrupt_requested() 252 if vcpu_id != 0 { in interrupt_requested() 261 fn get_external_interrupt(&self, vcpu_id: usize) -> Option<u32> { in get_external_interrupt() 263 if vcpu_id != 0 { in get_external_interrupt() 306 fn add_vcpu(&mut self, vcpu_id: usize, vcpu: &dyn Vcpu) -> Result<()> { in add_vcpu() 310 self.vcpus.lock()[vcpu_id] = Some(vcpu.try_clone()?); in add_vcpu() [all …]
|
D | mod.rs | 31 fn add_vcpu(&mut self, vcpu_id: usize, vcpu: &dyn Vcpu) -> Result<()> { in add_vcpu() 35 self.vcpus.lock()[vcpu_id] = Some(vcpu.try_clone()?); in add_vcpu() 131 fn get_mp_state(&self, vcpu_id: usize) -> Result<MPState> { in get_mp_state() 132 match self.vcpus.lock().get(vcpu_id) { in get_mp_state() 139 fn set_mp_state(&mut self, vcpu_id: usize, state: &MPState) -> Result<()> { in set_mp_state() 140 match self.vcpus.lock().get(vcpu_id) { in set_mp_state()
|
/external/crosvm/devices/src/irqchip/ |
D | mod.rs | 61 fn add_vcpu(&mut self, vcpu_id: usize, vcpu: &dyn Vcpu) -> Result<()>; in add_vcpu() 101 fn halted(&self, vcpu_id: usize); in halted() 115 fn get_mp_state(&self, vcpu_id: usize) -> Result<MPState>; in get_mp_state() 118 fn set_mp_state(&mut self, vcpu_id: usize, state: &MPState) -> Result<()>; in set_mp_state()
|
D | x86_64.rs | 24 fn get_lapic_state(&self, vcpu_id: usize) -> Result<LapicState>; in get_lapic_state() 27 fn set_lapic_state(&mut self, vcpu_id: usize, state: &LapicState) -> Result<()>; in set_lapic_state()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/s390x/ |
D | ucall.c | 36 uint64_t get_ucall(struct kvm_vm *vm, uint32_t vcpu_id, struct ucall *uc) in get_ucall() argument 38 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall() 50 vcpu_run_complete_io(vm, vcpu_id); in get_ucall()
|
/external/crosvm/x86_64/src/ |
D | interrupts.rs | 58 pub fn set_lint(vcpu_id: usize, irqchip: &mut dyn IrqChipX86_64) -> Result<()> { in set_lint() 59 let mut lapic = irqchip.get_lapic_state(vcpu_id).map_err(Error::GetLapic)?; in set_lint() 69 .set_lapic_state(vcpu_id, &lapic) in set_lint()
|
D | cpuid.rs | 48 vcpu_id: usize, in filter_cpuid() 71 entry.ebx = (vcpu_id << EBX_CPUID_SHIFT) as u32 in filter_cpuid() 113 entry.edx = vcpu_id as u32; // x2APIC ID in filter_cpuid() 160 vcpu_id: usize, in setup_cpuid() 168 filter_cpuid(vcpu_id, nrcpus, &mut cpuid, irq_chip, no_smt); in setup_cpuid()
|
D | lib.rs | 544 vcpu_id: usize, in configure_vcpu() 549 cpuid::setup_cpuid(hypervisor, irq_chip, vcpu, vcpu_id, num_cpus, no_smt) in configure_vcpu() 570 interrupts::set_lint(vcpu_id, irq_chip).map_err(Error::SetLint)?; in configure_vcpu()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/aarch64/ |
D | ucall.c | 92 uint64_t get_ucall(struct kvm_vm *vm, uint32_t vcpu_id, struct ucall *uc) in get_ucall() argument 94 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall() 106 vcpu_run_complete_io(vm, vcpu_id); in get_ucall()
|
/external/crosvm/aarch64/src/ |
D | lib.rs | 268 for vcpu_id in 0..vcpu_count { in build_vm() 270 .create_vcpu(vcpu_id) in build_vm() 274 Self::configure_vcpu_early(vm.get_memory(), &vcpu, vcpu_id, use_pmu, has_bios)?; in build_vm() 486 vcpu_id: usize, in configure_vcpu_early() 495 if vcpu_id != 0 { in configure_vcpu_early() 506 if vcpu_id == 0 { in configure_vcpu_early()
|
/external/kernel-headers/original/uapi/linux/ |
D | acrn.h | 319 __u16 vcpu_id; member
|
/external/linux-kselftest/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 198 uint64_t get_ucall(struct kvm_vm *vm, uint32_t vcpu_id, struct ucall *uc);
|
D | evmcs.h | 223 int vcpu_enable_evmcs(struct kvm_vm *vm, int vcpu_id);
|
/external/crosvm/arch/src/ |
D | lib.rs | 189 vcpu_id: usize, in configure_vcpu()
|