Home
last modified time | relevance | path

Searched refs:target_vcpu (Results 1 – 14 of 14) sorted by relevance

/linux/arch/riscv/kvm/
H A Dvcpu_sbi_hsm.c19 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()
27 spin_lock(&target_vcpu->arch.mp_state_lock); in kvm_sbi_hsm_vcpu_start()
29 if (!kvm_riscv_vcpu_stopped(target_vcpu)) { in kvm_sbi_hsm_vcpu_start()
34 spin_lock(&target_vcpu->arch.reset_cntx_lock); in kvm_sbi_hsm_vcpu_start()
35 reset_cntx = &target_vcpu->arch.guest_reset_context; in kvm_sbi_hsm_vcpu_start()
42 spin_unlock(&target_vcpu->arch.reset_cntx_lock); in kvm_sbi_hsm_vcpu_start()
44 kvm_make_request(KVM_REQ_VCPU_RESET, target_vcpu); in kvm_sbi_hsm_vcpu_start()
46 __kvm_riscv_vcpu_power_on(target_vcpu); in kvm_sbi_hsm_vcpu_start()
[all …]
/linux/arch/arm64/kvm/vgic/
H A Dvgic.c214 return irq->vcpu ? : irq->target_vcpu; in vgic_target_oracle()
223 if (unlikely(irq->target_vcpu && in vgic_target_oracle()
224 !irq->target_vcpu->kvm->arch.vgic.enabled)) in vgic_target_oracle()
227 return irq->target_vcpu; in vgic_target_oracle()
640 struct kvm_vcpu *target_vcpu, *vcpuA, *vcpuB; in vgic_prune_ap_list() local
647 target_vcpu = vgic_target_oracle(irq); in vgic_prune_ap_list()
649 if (!target_vcpu) { in vgic_prune_ap_list()
669 if (target_vcpu == vcpu) { in vgic_prune_ap_list()
684 if (vcpu->vcpu_id < target_vcpu->vcpu_id) { in vgic_prune_ap_list()
686 vcpuB = target_vcpu; in vgic_prune_ap_list()
[all …]
H A Dvgic-v4.c215 struct its_vpe *vpe = &irq->target_vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_get_vlpi_state()
451 .vpe = &irq->target_vcpu->arch.vgic_cpu.vgic_v3.its_vpe, in kvm_vgic_v4_set_forwarding()
517 atomic_dec(&irq->target_vcpu->arch.vgic_cpu.vgic_v3.its_vpe.vlpi_count); in kvm_vgic_v4_unset_forwarding()
H A Dvgic-debug.c252 (irq->target_vcpu) ? irq->target_vcpu->vcpu_idx : -1, in print_irq_state()
H A Dvgic-v3.c328 vcpu = irq->target_vcpu; in vgic_v3_lpi_sync_pending_status()
345 if (irq->target_vcpu != vcpu) { in vgic_v3_lpi_sync_pending_status()
419 vcpu = irq->target_vcpu; in vgic_v3_save_pending_tables()
H A Dvgic-init.c163 irq->target_vcpu = vcpu0; in kvm_vgic_dist_init()
211 irq->target_vcpu = vcpu; in vgic_allocate_private_irqs_locked()
H A Dvgic-mmio-v2.c201 irq->target_vcpu = kvm_get_vcpu(vcpu->kvm, target); in vgic_mmio_write_target()
H A Dvgic-its.c104 irq->target_vcpu = vcpu; in vgic_add_lpi()
329 if (!filter_vcpu || filter_vcpu == irq->target_vcpu) { in update_lpi_config()
353 irq->target_vcpu = vcpu; in update_affinity()
462 if (irq->target_vcpu == vcpu) in its_sync_lpi_pending_table()
H A Dvgic-mmio-v3.c232 irq->target_vcpu = kvm_mpidr_to_vcpu(vcpu->kvm, irq->mpidr); in vgic_mmio_write_irouter()
/linux/drivers/hv/
H A Dhv_trace.h255 __field(u32, target_vcpu)
263 __entry->target_vcpu = msg->target_vcpu;
271 __entry->ver, __entry->target_vcpu, __entry->int_page,
H A Dconnection.c117 msg->target_vcpu = hv_cpu_number_to_vp_number(VMBUS_CONNECT_CPU); in vmbus_negotiate_version()
/linux/arch/x86/kvm/svm/
H A Davic.c356 struct kvm_vcpu *target_vcpu = kvm_get_vcpu_by_id(kvm, physical_id); in avic_kick_vcpu_by_physical_id() local
359 if (unlikely(!target_vcpu)) in avic_kick_vcpu_by_physical_id()
362 avic_kick_vcpu(target_vcpu, icrl); in avic_kick_vcpu_by_physical_id()
/linux/include/kvm/
H A Darm_vgic.h127 struct kvm_vcpu *target_vcpu; /* The VCPU that this interrupt should member
/linux/include/linux/
H A Dhyperv.h683 u32 target_vcpu; /* The VCPU the host should respond to */ member