Searched refs:mp_state (Results 1 – 8 of 8) sorted by relevance
346 target_vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in handle_ipi()392 if (!kvm->vcpus[i] || kvm->vcpus[i]->arch.mp_state == in handle_global_purge()445 vcpu->arch.mp_state = KVM_MP_STATE_HALTED; in kvm_emulate_halt()451 if (vcpu->arch.mp_state == KVM_MP_STATE_HALTED) in kvm_emulate_halt()452 vcpu->arch.mp_state = in kvm_emulate_halt()455 if (vcpu->arch.mp_state != KVM_MP_STATE_RUNNABLE) in kvm_emulate_halt()685 if (unlikely(vcpu->arch.mp_state == KVM_MP_STATE_UNINITIALIZED)) { in kvm_arch_vcpu_ioctl_run()855 RESTORE_REGS(mp_state); in kvm_arch_vcpu_ioctl_set_regs()1114 if (vcpu->arch.mp_state != KVM_MP_STATE_HALTED) in hlt_timer_fn()1145 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in kvm_arch_vcpu_init()[all …]
175 int mp_state; member
377 int mp_state; member
398 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument404 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
2640 vcpu->arch.mp_state = KVM_MP_STATE_HALTED; in kvm_emulate_halt()3050 if (unlikely(vcpu->arch.mp_state == KVM_MP_STATE_SIPI_RECEIVED)) { in __vcpu_run()3057 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in __vcpu_run()3065 if (vcpu->arch.mp_state == KVM_MP_STATE_RUNNABLE) in __vcpu_run()3072 if (vcpu->arch.mp_state == KVM_MP_STATE_HALTED) in __vcpu_run()3073 vcpu->arch.mp_state = in __vcpu_run()3075 if (vcpu->arch.mp_state != KVM_MP_STATE_RUNNABLE) in __vcpu_run()3116 if (unlikely(vcpu->arch.mp_state == KVM_MP_STATE_UNINITIALIZED)) { in kvm_arch_vcpu_ioctl_run()3305 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument3308 mp_state->mp_state = vcpu->arch.mp_state; in kvm_arch_vcpu_ioctl_get_mpstate()[all …]
373 if (vcpu->arch.mp_state == KVM_MP_STATE_RUNNABLE) in __apic_accept_irq()377 vcpu->arch.mp_state = KVM_MP_STATE_INIT_RECEIVED; in __apic_accept_irq()388 if (vcpu->arch.mp_state == KVM_MP_STATE_INIT_RECEIVED) { in __apic_accept_irq()390 vcpu->arch.mp_state = KVM_MP_STATE_SIPI_RECEIVED; in __apic_accept_irq()
432 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument438 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
265 int mp_state; member