Home
last modified time | relevance | path

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

/linux-6.1.9/arch/riscv/kvm/
Dvcpu_sbi_hsm.c20 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()
[all …]
/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic.c220 return irq->vcpu ? : irq->target_vcpu; in vgic_target_oracle()
229 if (unlikely(irq->target_vcpu && in vgic_target_oracle()
230 !irq->target_vcpu->kvm->arch.vgic.enabled)) in vgic_target_oracle()
233 return irq->target_vcpu; in vgic_target_oracle()
629 struct kvm_vcpu *target_vcpu, *vcpuA, *vcpuB; in vgic_prune_ap_list() local
636 target_vcpu = vgic_target_oracle(irq); in vgic_prune_ap_list()
638 if (!target_vcpu) { in vgic_prune_ap_list()
658 if (target_vcpu == vcpu) { in vgic_prune_ap_list()
673 if (vcpu->vcpu_id < target_vcpu->vcpu_id) { in vgic_prune_ap_list()
675 vcpuB = target_vcpu; in vgic_prune_ap_list()
[all …]
Dvgic-v4.c214 struct its_vpe *vpe = &irq->target_vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_get_vlpi_state()
442 .vpe = &irq->target_vcpu->arch.vgic_cpu.vgic_v3.its_vpe, in kvm_vgic_v4_set_forwarding()
508 atomic_dec(&irq->target_vcpu->arch.vgic_cpu.vgic_v3.its_vpe.vlpi_count); in kvm_vgic_v4_unset_forwarding()
Dvgic-debug.c215 (irq->target_vcpu) ? irq->target_vcpu->vcpu_id : -1, in print_irq_state()
Dvgic-init.c157 irq->target_vcpu = vcpu0; in kvm_vgic_dist_init()
210 irq->target_vcpu = vcpu; in kvm_vgic_vcpu_init()
Dvgic-v3.c315 vcpu = irq->target_vcpu; in vgic_v3_lpi_sync_pending_status()
332 if (irq->target_vcpu != vcpu) { in vgic_v3_lpi_sync_pending_status()
405 vcpu = irq->target_vcpu; in vgic_v3_save_pending_tables()
Dvgic-mmio-v2.c201 irq->target_vcpu = kvm_get_vcpu(vcpu->kvm, target); in vgic_mmio_write_target()
Dvgic-its.c62 irq->target_vcpu = vcpu; in vgic_add_lpi()
296 if (!filter_vcpu || filter_vcpu == irq->target_vcpu) { in update_lpi_config()
344 if (vcpu && irq->target_vcpu != vcpu) in vgic_copy_lpi_list()
360 irq->target_vcpu = vcpu; in update_affinity()
Dvgic-mmio-v3.c232 irq->target_vcpu = kvm_mpidr_to_vcpu(vcpu->kvm, irq->mpidr); in vgic_mmio_write_irouter()
/linux-6.1.9/drivers/hv/
Dhv_trace.h255 __field(u32, target_vcpu)
263 __entry->target_vcpu = msg->target_vcpu;
271 __entry->ver, __entry->target_vcpu, __entry->int_page,
Dconnection.c110 msg->target_vcpu = hv_cpu_number_to_vp_number(VMBUS_CONNECT_CPU); in vmbus_negotiate_version()
/linux-6.1.9/arch/x86/kvm/svm/
Davic.c350 struct kvm_vcpu *target_vcpu; in avic_kick_target_vcpus_fast() local
438 target_vcpu = kvm_get_vcpu_by_id(kvm, l1_physical_id); in avic_kick_target_vcpus_fast()
439 if (unlikely(!target_vcpu)) in avic_kick_target_vcpus_fast()
443 target_vcpu->arch.apic->irr_pending = true; in avic_kick_target_vcpus_fast()
444 svm_complete_interrupt_delivery(target_vcpu, in avic_kick_target_vcpus_fast()
/linux-6.1.9/include/kvm/
Darm_vgic.h127 struct kvm_vcpu *target_vcpu; /* The VCPU that this interrupt should member
/linux-6.1.9/include/linux/
Dhyperv.h663 u32 target_vcpu; /* The VCPU the host should respond to */ member