Home
last modified time | relevance | path

Searched refs:KVM_STATE_NESTED_GUEST_MODE (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dvmx_set_nested_state_test.c70 KVM_STATE_NESTED_GUEST_MODE; in set_default_state()
169 state->flags = KVM_STATE_NESTED_GUEST_MODE | in test_vmx_nested_state()
/openbmc/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h445 #define KVM_STATE_NESTED_GUEST_MODE 0x00000001 macro
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dkvm.h445 #define KVM_STATE_NESTED_GUEST_MODE 0x00000001 macro
/openbmc/linux/arch/x86/kvm/svm/
H A Dnested.c1607 kvm_state.flags |= KVM_STATE_NESTED_GUEST_MODE; in svm_get_nested_state()
1667 if (kvm_state->flags & ~(KVM_STATE_NESTED_GUEST_MODE | in svm_set_nested_state()
1683 if (is_smm(vcpu) && (kvm_state->flags & KVM_STATE_NESTED_GUEST_MODE)) in svm_set_nested_state()
1686 if (!(kvm_state->flags & KVM_STATE_NESTED_GUEST_MODE)) { in svm_set_nested_state()
/openbmc/qemu/linux-headers/asm-x86/
H A Dkvm.h445 #define KVM_STATE_NESTED_GUEST_MODE 0x00000001 macro
/openbmc/linux/arch/x86/kvm/vmx/
H A Dnested.c6507 kvm_state.flags |= KVM_STATE_NESTED_GUEST_MODE; in vmx_get_nested_state()
6631 (kvm_state->flags & KVM_STATE_NESTED_GUEST_MODE)) in vmx_set_nested_state()
6648 (KVM_STATE_NESTED_GUEST_MODE | KVM_STATE_NESTED_RUN_PENDING)) in vmx_set_nested_state()
6674 if ((kvm_state->flags & KVM_STATE_NESTED_GUEST_MODE) || in vmx_set_nested_state()
6716 if (!(kvm_state->flags & KVM_STATE_NESTED_GUEST_MODE)) in vmx_set_nested_state()
/openbmc/qemu/target/i386/
H A Dmachine.c360 !(env->nested_state->flags & KVM_STATE_NESTED_GUEST_MODE))) { in cpu_post_load()
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c5174 env->nested_state->flags |= KVM_STATE_NESTED_GUEST_MODE; in kvm_put_nested_state()
5176 env->nested_state->flags &= ~KVM_STATE_NESTED_GUEST_MODE; in kvm_put_nested_state()
5217 if (env->nested_state->flags & KVM_STATE_NESTED_GUEST_MODE) { in kvm_get_nested_state()
/openbmc/linux/arch/x86/kvm/
H A Dx86.c6016 ~(KVM_STATE_NESTED_RUN_PENDING | KVM_STATE_NESTED_GUEST_MODE in kvm_arch_vcpu_ioctl()
6023 && !(kvm_state.flags & KVM_STATE_NESTED_GUEST_MODE)) in kvm_arch_vcpu_ioctl()
/openbmc/linux/Documentation/virt/kvm/
H A Dapi.rst4796 #define KVM_STATE_NESTED_GUEST_MODE 0x00000001