Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm64/kvm/
Darm.c408 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument
411 mp_state->mp_state = KVM_MP_STATE_STOPPED; in kvm_arch_vcpu_ioctl_get_mpstate()
413 mp_state->mp_state = KVM_MP_STATE_RUNNABLE; in kvm_arch_vcpu_ioctl_get_mpstate()
419 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
423 switch (mp_state->mp_state) { in kvm_arch_vcpu_ioctl_set_mpstate()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c585 struct kvm_mp_state mp_state; in vm_vcpu_add_default() local
603 mp_state.mp_state = 0; in vm_vcpu_add_default()
604 vcpu_set_mp_state(vm, vcpuid, &mp_state); in vm_vcpu_add_default()
908 struct kvm_mp_state mp_state; member
995 r = ioctl(vcpu->fd, KVM_GET_MP_STATE, &state->mp_state); in vcpu_save_state()
1070 r = ioctl(vcpu->fd, KVM_SET_MP_STATE, &state->mp_state); in vcpu_load_state()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.c4407 vcpu->arch.mp_state == KVM_MP_STATE_INIT_RECEIVED) in kvm_vcpu_ioctl_x86_set_vcpu_events()
8204 vcpu->arch.mp_state = KVM_MP_STATE_HALTED; in kvm_vcpu_halt()
9138 if (vcpu->arch.mp_state == KVM_MP_STATE_INIT_RECEIVED) { in vcpu_enter_guest()
9338 switch(vcpu->arch.mp_state) { in vcpu_block()
9341 vcpu->arch.mp_state = in vcpu_block()
9360 return (vcpu->arch.mp_state == KVM_MP_STATE_RUNNABLE && in kvm_vcpu_running()
9550 if (unlikely(vcpu->arch.mp_state == KVM_MP_STATE_UNINITIALIZED)) { in kvm_arch_vcpu_ioctl_run()
9751 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument
9758 if (vcpu->arch.mp_state == KVM_MP_STATE_HALTED && in kvm_arch_vcpu_ioctl_get_mpstate()
9760 mp_state->mp_state = KVM_MP_STATE_RUNNABLE; in kvm_arch_vcpu_ioctl_get_mpstate()
[all …]
Dlapic.c2879 WARN_ON_ONCE(vcpu->arch.mp_state == KVM_MP_STATE_INIT_RECEIVED); in kvm_apic_accept_events()
2889 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in kvm_apic_accept_events()
2891 vcpu->arch.mp_state = KVM_MP_STATE_INIT_RECEIVED; in kvm_apic_accept_events()
2894 vcpu->arch.mp_state == KVM_MP_STATE_INIT_RECEIVED) { in kvm_apic_accept_events()
2899 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in kvm_apic_accept_events()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/
Dkvm_util.h153 struct kvm_mp_state *mp_state);
/kernel/linux/linux-5.10/virt/kvm/
Dkvm_main.c3376 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local
3378 r = kvm_arch_vcpu_ioctl_get_mpstate(vcpu, &mp_state); in kvm_vcpu_ioctl()
3382 if (copy_to_user(argp, &mp_state, sizeof(mp_state))) in kvm_vcpu_ioctl()
3388 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local
3391 if (copy_from_user(&mp_state, argp, sizeof(mp_state))) in kvm_vcpu_ioctl()
3393 r = kvm_arch_vcpu_ioctl_set_mpstate(vcpu, &mp_state); in kvm_vcpu_ioctl()
/kernel/linux/linux-5.10/arch/mips/kvm/
Dmips.c534 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument
540 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
/kernel/linux/linux-5.10/include/linux/
Dkvm_host.h930 struct kvm_mp_state *mp_state);
932 struct kvm_mp_state *mp_state);
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dkvm_util.c1277 struct kvm_mp_state *mp_state) in vcpu_set_mp_state() argument
1284 ret = ioctl(vcpu->fd, KVM_SET_MP_STATE, mp_state); in vcpu_set_mp_state()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dpowerpc.c2006 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument
2012 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dkvm.h412 __u32 mp_state; member
/kernel/linux/linux-5.10/arch/s390/kvm/
Dkvm-s390.c3747 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument
3762 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
3771 switch (mp_state->mp_state) { in kvm_arch_vcpu_ioctl_set_mpstate()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dkvm.h437 __u32 mp_state; member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dkvm.h577 __u32 mp_state; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dkvm.h577 __u32 mp_state; member
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dkvm_host.h552 int mp_state; member
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Dnested.c639 svm->vcpu.arch.mp_state = KVM_MP_STATE_RUNNABLE; in nested_svm_vmexit()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dnested.c4114 if (vcpu->arch.mp_state == KVM_MP_STATE_HALTED) in sync_vmcs02_to_vmcs12()
4610 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in nested_vmx_vmexit()
/kernel/linux/linux-5.10/Documentation/virt/kvm/
Dapi.rst1381 __u32 mp_state;