Searched refs:mp_state (Results 1 – 12 of 12) sorted by relevance
360 target_vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in handle_ipi()407 if (vcpui->arch.mp_state == KVM_MP_STATE_UNINITIALIZED || in handle_global_purge()476 vcpu->arch.mp_state = KVM_MP_STATE_HALTED; in kvm_emulate_halt()483 if (vcpu->arch.mp_state == KVM_MP_STATE_HALTED) in kvm_emulate_halt()484 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in kvm_emulate_halt()486 if (vcpu->arch.mp_state != KVM_MP_STATE_RUNNABLE) in kvm_emulate_halt()733 if (unlikely(vcpu->arch.mp_state == KVM_MP_STATE_UNINITIALIZED)) { in kvm_arch_vcpu_ioctl_run()889 RESTORE_REGS(mp_state); in kvm_arch_vcpu_ioctl_set_regs()1157 if (vcpu->arch.mp_state != KVM_MP_STATE_HALTED) in hlt_timer_fn()1188 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in kvm_arch_vcpu_init()[all …]
208 int mp_state; member
382 int mp_state; member
527 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument533 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
1777 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local1779 r = kvm_arch_vcpu_ioctl_get_mpstate(vcpu, &mp_state); in kvm_vcpu_ioctl()1783 if (copy_to_user(argp, &mp_state, sizeof mp_state)) in kvm_vcpu_ioctl()1789 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local1792 if (copy_from_user(&mp_state, argp, sizeof mp_state)) in kvm_vcpu_ioctl()1794 r = kvm_arch_vcpu_ioctl_set_mpstate(vcpu, &mp_state); in kvm_vcpu_ioctl()
4755 vcpu->arch.mp_state = KVM_MP_STATE_HALTED; in kvm_emulate_halt()5329 if (unlikely(vcpu->arch.mp_state == KVM_MP_STATE_SIPI_RECEIVED)) { in __vcpu_run()5336 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in __vcpu_run()5344 if (vcpu->arch.mp_state == KVM_MP_STATE_RUNNABLE && in __vcpu_run()5353 switch(vcpu->arch.mp_state) { in __vcpu_run()5355 vcpu->arch.mp_state = in __vcpu_run()5413 if (unlikely(vcpu->arch.mp_state == KVM_MP_STATE_UNINITIALIZED)) { in kvm_arch_vcpu_ioctl_run()5564 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument5566 mp_state->mp_state = vcpu->arch.mp_state; in kvm_arch_vcpu_ioctl_get_mpstate()5571 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument[all …]
420 vcpu->arch.mp_state = KVM_MP_STATE_INIT_RECEIVED; in __apic_accept_irq()432 if (vcpu->arch.mp_state == KVM_MP_STATE_INIT_RECEIVED) { in __apic_accept_irq()435 vcpu->arch.mp_state = KVM_MP_STATE_SIPI_RECEIVED; in __apic_accept_irq()
438 struct kvm_mp_state *mp_state);440 struct kvm_mp_state *mp_state);
352 __u32 mp_state; member
429 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument435 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
296 int mp_state; member
861 __u32 mp_state;