Home
last modified time | relevance | path

Searched refs:mp_state (Results 1 – 12 of 12) sorted by relevance

/linux-3.4.99/arch/ia64/kvm/
Dkvm-ia64.c361 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 …]
/linux-3.4.99/arch/ia64/include/asm/
Dkvm.h208 int mp_state; member
Dkvm_host.h382 int mp_state; member
/linux-3.4.99/arch/x86/kvm/
Dx86.c4915 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() argument
5619 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 …]
Dlapic.c438 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()
/linux-3.4.99/virt/kvm/
Dkvm_main.c1828 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local
1830 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() local
1843 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()
/linux-3.4.99/arch/powerpc/kvm/
Dpowerpc.c661 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument
667 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
/linux-3.4.99/include/linux/
Dkvm_host.h482 struct kvm_mp_state *mp_state);
484 struct kvm_mp_state *mp_state);
Dkvm.h378 __u32 mp_state; member
/linux-3.4.99/arch/s390/kvm/
Dkvm-s390.c502 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument
508 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
/linux-3.4.99/arch/x86/include/asm/
Dkvm_host.h341 int mp_state; member
/linux-3.4.99/Documentation/virtual/kvm/
Dapi.txt909 __u32 mp_state;