Lines Matching refs:target_vcpu
20 struct kvm_vcpu *target_vcpu; in kvm_sbi_hsm_vcpu_start() local
23 target_vcpu = kvm_get_vcpu_by_id(vcpu->kvm, target_vcpuid); in kvm_sbi_hsm_vcpu_start()
24 if (!target_vcpu) in kvm_sbi_hsm_vcpu_start()
26 if (!target_vcpu->arch.power_off) in kvm_sbi_hsm_vcpu_start()
29 reset_cntx = &target_vcpu->arch.guest_reset_context; in kvm_sbi_hsm_vcpu_start()
36 kvm_make_request(KVM_REQ_VCPU_RESET, target_vcpu); in kvm_sbi_hsm_vcpu_start()
38 kvm_riscv_vcpu_power_on(target_vcpu); in kvm_sbi_hsm_vcpu_start()
57 struct kvm_vcpu *target_vcpu; in kvm_sbi_hsm_vcpu_get_status() local
59 target_vcpu = kvm_get_vcpu_by_id(vcpu->kvm, target_vcpuid); in kvm_sbi_hsm_vcpu_get_status()
60 if (!target_vcpu) in kvm_sbi_hsm_vcpu_get_status()
62 if (!target_vcpu->arch.power_off) in kvm_sbi_hsm_vcpu_get_status()