Lines Matching full:vcpu
60 vmexit_inst_emul(struct vmctx *ctx __unused, struct vcpu *vcpu, in vmexit_inst_emul() argument
70 err = emulate_mem(vcpu, vme->u.inst_emul.gpa, vie, in vmexit_inst_emul()
89 vmexit_reg_emul(struct vmctx *ctx __unused, struct vcpu *vcpu __unused, in vmexit_reg_emul()
104 vmexit_suspend(struct vmctx *ctx, struct vcpu *vcpu, struct vm_run *vmrun) in vmexit_suspend() argument
108 int vcpuid = vcpu_id(vcpu); in vmexit_suspend()
132 vmexit_debug(struct vmctx *ctx __unused, struct vcpu *vcpu, in vmexit_debug() argument
135 gdb_cpu_suspend(vcpu); in vmexit_debug()
138 * window between activation of the vCPU thread and the STARTUP IPI. in vmexit_debug()
145 vmexit_bogus(struct vmctx *ctx __unused, struct vcpu *vcpu __unused, in vmexit_bogus()
173 for (int vcpu = 0; vcpu < guest_ncpus; vcpu++) { in smccc_affinity_info() local
175 cpu_aff = (vcpu & 0xf) << MPIDR_AFF0_SHIFT | in smccc_affinity_info()
176 ((vcpu >> 4) & 0xff) << MPIDR_AFF1_SHIFT | in smccc_affinity_info()
177 ((vcpu >> 12) & 0xff) << MPIDR_AFF2_SHIFT | in smccc_affinity_info()
178 (uint64_t)((vcpu >> 20) & 0xff) << MPIDR_AFF3_SHIFT; in smccc_affinity_info()
181 CPU_ISSET(vcpu, &running_cpumask)) { in smccc_affinity_info()
192 vmexit_smccc(struct vmctx *ctx, struct vcpu *vcpu, struct vm_run *vmrun) in vmexit_smccc() argument
194 struct vcpu *newvcpu; in vmexit_smccc()
259 error = vm_set_register(vcpu, VM_REG_GUEST_X0, smccc_rv); in vmexit_smccc()
266 vmexit_hyp(struct vmctx *ctx __unused, struct vcpu *vcpu, struct vm_run *vmrun) in vmexit_hyp() argument
269 if (vm_inject_exception(vcpu, in vmexit_hyp()
278 vmexit_brk(struct vmctx *ctx __unused, struct vcpu *vcpu, struct vm_run *vmrun) in vmexit_brk() argument
280 gdb_cpu_breakpoint(vcpu, vmrun->vm_exit); in vmexit_brk()
285 vmexit_ss(struct vmctx *ctx __unused, struct vcpu *vcpu, struct vm_run *vmrun) in vmexit_ss() argument
287 gdb_cpu_debug(vcpu, vmrun->vm_exit); in vmexit_ss()