Searched refs:mp_state (Results 1 – 12 of 12) sorted by relevance
361 target_vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in handle_ipi()408 if (vcpui->arch.mp_state == KVM_MP_STATE_UNINITIALIZED || in handle_global_purge()477 vcpu->arch.mp_state = KVM_MP_STATE_HALTED; in kvm_emulate_halt()484 if (vcpu->arch.mp_state == KVM_MP_STATE_HALTED) in kvm_emulate_halt()485 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in kvm_emulate_halt()487 if (vcpu->arch.mp_state != KVM_MP_STATE_RUNNABLE) in kvm_emulate_halt()734 if (unlikely(vcpu->arch.mp_state == KVM_MP_STATE_UNINITIALIZED)) { in kvm_arch_vcpu_ioctl_run()893 RESTORE_REGS(mp_state); in kvm_arch_vcpu_ioctl_set_regs()1161 if (vcpu->arch.mp_state != KVM_MP_STATE_HALTED) in hlt_timer_fn()1197 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in kvm_arch_vcpu_init()[all …]
208 int mp_state; member
382 int mp_state; member
4915 vcpu->arch.mp_state = KVM_MP_STATE_HALTED; in kvm_emulate_halt()5349 if (unlikely(vcpu->arch.mp_state == KVM_MP_STATE_SIPI_RECEIVED)) { in __vcpu_run()5356 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in __vcpu_run()5363 if (vcpu->arch.mp_state == KVM_MP_STATE_RUNNABLE && in __vcpu_run()5372 switch(vcpu->arch.mp_state) { in __vcpu_run()5374 vcpu->arch.mp_state = in __vcpu_run()5465 if (unlikely(vcpu->arch.mp_state == KVM_MP_STATE_UNINITIALIZED)) { in kvm_arch_vcpu_ioctl_run()5617 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument5619 mp_state->mp_state = vcpu->arch.mp_state; in kvm_arch_vcpu_ioctl_get_mpstate()5624 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument[all …]
438 vcpu->arch.mp_state = KVM_MP_STATE_INIT_RECEIVED; in __apic_accept_irq()450 if (vcpu->arch.mp_state == KVM_MP_STATE_INIT_RECEIVED) { in __apic_accept_irq()453 vcpu->arch.mp_state = KVM_MP_STATE_SIPI_RECEIVED; in __apic_accept_irq()
1828 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local1830 r = kvm_arch_vcpu_ioctl_get_mpstate(vcpu, &mp_state); in kvm_vcpu_ioctl()1834 if (copy_to_user(argp, &mp_state, sizeof mp_state)) in kvm_vcpu_ioctl()1840 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local1843 if (copy_from_user(&mp_state, argp, sizeof mp_state)) in kvm_vcpu_ioctl()1845 r = kvm_arch_vcpu_ioctl_set_mpstate(vcpu, &mp_state); in kvm_vcpu_ioctl()
661 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument667 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
482 struct kvm_mp_state *mp_state);484 struct kvm_mp_state *mp_state);
378 __u32 mp_state; member
502 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument508 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
341 int mp_state; member
909 __u32 mp_state;