Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/kvm/x86/
H A 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-6.15/tools/testing/selftests/kvm/include/
H A Dkvm_util.h745 struct kvm_nested_state *state) in vcpu_nested_state_get()
750 struct kvm_nested_state *state) in __vcpu_nested_state_set()
756 struct kvm_nested_state *state) in vcpu_nested_state_set()
/linux-6.15/arch/x86/kvm/svm/
H A Dnested.c1583 struct kvm_nested_state __user *user_kvm_nested_state, in svm_get_nested_state()
1589 struct kvm_nested_state kvm_state = { in svm_get_nested_state()
1650 struct kvm_nested_state __user *user_kvm_nested_state, in svm_set_nested_state()
1651 struct kvm_nested_state *kvm_state) in svm_set_nested_state()
/linux-6.15/tools/include/uapi/linux/
H A Dkvm.h1372 #define KVM_GET_NESTED_STATE _IOWR(KVMIO, 0xbe, struct kvm_nested_state)
1373 #define KVM_SET_NESTED_STATE _IOW(KVMIO, 0xbf, struct kvm_nested_state)
/linux-6.15/include/uapi/linux/
H A Dkvm.h1372 #define KVM_GET_NESTED_STATE _IOWR(KVMIO, 0xbe, struct kvm_nested_state)
1373 #define KVM_SET_NESTED_STATE _IOW(KVMIO, 0xbf, struct kvm_nested_state)
/linux-6.15/arch/x86/include/asm/
H A Dkvm_host.h1899 struct kvm_nested_state __user *user_kvm_nested_state,
1902 struct kvm_nested_state __user *user_kvm_nested_state,
1903 struct kvm_nested_state *kvm_state);
/linux-6.15/arch/x86/include/uapi/asm/
H A Dkvm.h500 struct kvm_nested_state { struct
/linux-6.15/tools/arch/x86/include/uapi/asm/
H A Dkvm.h500 struct kvm_nested_state { struct
/linux-6.15/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h423 struct kvm_nested_state nested;
/linux-6.15/arch/x86/kvm/vmx/
H A Dnested.c6625 struct kvm_nested_state __user *user_kvm_nested_state, in vmx_get_nested_state()
6630 struct kvm_nested_state kvm_state = { in vmx_get_nested_state()
6757 struct kvm_nested_state __user *user_kvm_nested_state, in vmx_set_nested_state()
6758 struct kvm_nested_state *kvm_state) in vmx_set_nested_state()
/linux-6.15/arch/x86/kvm/
H A Dx86.c6182 struct kvm_nested_state __user *user_kvm_nested_state = argp; in kvm_arch_vcpu_ioctl()
6211 struct kvm_nested_state __user *user_kvm_nested_state = argp; in kvm_arch_vcpu_ioctl()
6212 struct kvm_nested_state kvm_state; in kvm_arch_vcpu_ioctl()
/linux-6.15/Documentation/virt/kvm/
H A Dapi.rst4860 :Parameters: struct kvm_nested_state (in/out)
4872 struct kvm_nested_state {
4934 :Parameters: struct kvm_nested_state (in)
4937 This copies the vcpu's kvm_nested_state struct from userspace to the kernel.
4938 For the definition of struct kvm_nested_state, see KVM_GET_NESTED_STATE.