/kernel/linux/linux-5.10/arch/arm64/kvm/ |
D | arm.c | 408 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/ |
D | processor.c | 585 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/ |
D | x86.c | 4407 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 …]
|
D | lapic.c | 2879 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/ |
D | kvm_util.h | 153 struct kvm_mp_state *mp_state);
|
/kernel/linux/linux-5.10/virt/kvm/ |
D | kvm_main.c | 3376 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/ |
D | mips.c | 534 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/ |
D | kvm_host.h | 930 struct kvm_mp_state *mp_state); 932 struct kvm_mp_state *mp_state);
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 1277 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/ |
D | powerpc.c | 2006 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/ |
D | kvm.h | 412 __u32 mp_state; member
|
/kernel/linux/linux-5.10/arch/s390/kvm/ |
D | kvm-s390.c | 3747 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/ |
D | kvm.h | 437 __u32 mp_state; member
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | kvm.h | 577 __u32 mp_state; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | kvm.h | 577 __u32 mp_state; member
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | kvm_host.h | 552 int mp_state; member
|
/kernel/linux/linux-5.10/arch/x86/kvm/svm/ |
D | nested.c | 639 svm->vcpu.arch.mp_state = KVM_MP_STATE_RUNNABLE; in nested_svm_vmexit()
|
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
D | nested.c | 4114 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/ |
D | api.rst | 1381 __u32 mp_state;
|