Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/kvm/x86_64/
Dvmx_set_nested_state_test.c29 void test_nested_state(struct kvm_vcpu *vcpu, struct kvm_nested_state *state) in test_nested_state()
35 struct kvm_nested_state *state, in test_nested_state_expect_errno()
48 struct kvm_nested_state *state) in test_nested_state_expect_einval()
54 struct kvm_nested_state *state) in test_nested_state_expect_efault()
59 void set_revision_id_for_vmcs12(struct kvm_nested_state *state, in set_revision_id_for_vmcs12()
66 void set_default_state(struct kvm_nested_state *state) in set_default_state()
75 void set_default_vmx_state(struct kvm_nested_state *state, int size) in set_default_vmx_state()
91 const int state_sz = sizeof(struct kvm_nested_state) + getpagesize(); in test_vmx_nested_state()
92 struct kvm_nested_state *state = in test_vmx_nested_state()
93 (struct kvm_nested_state *)malloc(state_sz); in test_vmx_nested_state()
[all …]
/Linux-v6.6/tools/testing/selftests/kvm/include/
Dkvm_util_base.h570 struct kvm_nested_state *state) in vcpu_nested_state_get()
575 struct kvm_nested_state *state) in __vcpu_nested_state_set()
581 struct kvm_nested_state *state) in vcpu_nested_state_set()
/Linux-v6.6/tools/arch/x86/include/uapi/asm/
Dkvm.h492 struct kvm_nested_state { struct
/Linux-v6.6/arch/x86/include/uapi/asm/
Dkvm.h492 struct kvm_nested_state { struct
/Linux-v6.6/arch/x86/kvm/svm/
Dnested.c1592 struct kvm_nested_state __user *user_kvm_nested_state, in svm_get_nested_state()
1598 struct kvm_nested_state kvm_state = { in svm_get_nested_state()
1659 struct kvm_nested_state __user *user_kvm_nested_state, in svm_set_nested_state()
1660 struct kvm_nested_state *kvm_state) in svm_set_nested_state()
/Linux-v6.6/arch/x86/include/asm/
Dkvm_host.h1762 struct kvm_nested_state __user *user_kvm_nested_state,
1765 struct kvm_nested_state __user *user_kvm_nested_state,
1766 struct kvm_nested_state *kvm_state);
/Linux-v6.6/tools/include/uapi/linux/
Dkvm.h1670 #define KVM_GET_NESTED_STATE _IOWR(KVMIO, 0xbe, struct kvm_nested_state)
1671 #define KVM_SET_NESTED_STATE _IOW(KVMIO, 0xbf, struct kvm_nested_state)
/Linux-v6.6/include/uapi/linux/
Dkvm.h1677 #define KVM_GET_NESTED_STATE _IOWR(KVMIO, 0xbe, struct kvm_nested_state)
1678 #define KVM_SET_NESTED_STATE _IOW(KVMIO, 0xbf, struct kvm_nested_state)
/Linux-v6.6/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h386 struct kvm_nested_state nested;
/Linux-v6.6/arch/x86/kvm/vmx/
Dnested.c6406 struct kvm_nested_state __user *user_kvm_nested_state, in vmx_get_nested_state()
6411 struct kvm_nested_state kvm_state = { in vmx_get_nested_state()
6538 struct kvm_nested_state __user *user_kvm_nested_state, in vmx_set_nested_state()
6539 struct kvm_nested_state *kvm_state) in vmx_set_nested_state()
/Linux-v6.6/arch/x86/kvm/
Dx86.c5962 struct kvm_nested_state __user *user_kvm_nested_state = argp; in kvm_arch_vcpu_ioctl()
5991 struct kvm_nested_state __user *user_kvm_nested_state = argp; in kvm_arch_vcpu_ioctl()
5992 struct kvm_nested_state kvm_state; in kvm_arch_vcpu_ioctl()
/Linux-v6.6/Documentation/virt/kvm/
Dapi.rst4765 :Parameters: struct kvm_nested_state (in/out)
4777 struct kvm_nested_state {
4839 :Parameters: struct kvm_nested_state (in)
4842 This copies the vcpu's kvm_nested_state struct from userspace to the kernel.
4843 For the definition of struct kvm_nested_state, see KVM_GET_NESTED_STATE.