Home
last modified time | relevance | path

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

/linux-2.6.39/arch/ia64/kvm/
Dkvm-ia64.c360 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 …]
/linux-2.6.39/arch/ia64/include/asm/
Dkvm.h208 int mp_state; member
Dkvm_host.h382 int mp_state; member
/linux-2.6.39/arch/powerpc/kvm/
Dpowerpc.c527 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument
533 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
/linux-2.6.39/virt/kvm/
Dkvm_main.c1777 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local
1779 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() local
1792 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()
/linux-2.6.39/arch/x86/kvm/
Dx86.c4755 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() argument
5566 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 …]
Dlapic.c420 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()
/linux-2.6.39/include/linux/
Dkvm_host.h438 struct kvm_mp_state *mp_state);
440 struct kvm_mp_state *mp_state);
Dkvm.h352 __u32 mp_state; member
/linux-2.6.39/arch/s390/kvm/
Dkvm-s390.c429 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument
435 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
/linux-2.6.39/arch/x86/include/asm/
Dkvm_host.h296 int mp_state; member
/linux-2.6.39/Documentation/kvm/
Dapi.txt861 __u32 mp_state;