Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/x86/
H A Dnested_set_state_test.c28 void test_nested_state(struct kvm_vcpu *vcpu, struct kvm_nested_state *state) in test_nested_state()
34 struct kvm_nested_state *state, in test_nested_state_expect_errno()
47 struct kvm_nested_state *state) in test_nested_state_expect_einval()
53 struct kvm_nested_state *state) in test_nested_state_expect_efault()
58 void set_revision_id_for_vmcs12(struct kvm_nested_state *state, in set_revision_id_for_vmcs12()
65 void set_default_state(struct kvm_nested_state *state) in set_default_state()
74 void set_default_vmx_state(struct kvm_nested_state *state, int size) in set_default_vmx_state()
90 const int state_sz = sizeof(struct kvm_nested_state) + getpagesize(); in test_vmx_nested_state()
91 struct kvm_nested_state *state = in test_vmx_nested_state()
92 (struct kvm_nested_state *)malloc(state_sz); in test_vmx_nested_state()
[all …]
H A Devmcs_smm_controls_test.c132 struct kvm_nested_state state; in main()
/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util.h859 struct kvm_nested_state *state) in vcpu_nested_state_get()
864 struct kvm_nested_state *state) in __vcpu_nested_state_set()
870 struct kvm_nested_state *state) in vcpu_nested_state_set()
/linux/arch/x86/kvm/svm/
H A Dnested.c1881 struct kvm_nested_state __user *user_kvm_nested_state, in svm_get_nested_state()
1887 struct kvm_nested_state kvm_state = { in svm_get_nested_state()
1951 struct kvm_nested_state __user *user_kvm_nested_state, in svm_set_nested_state()
1952 struct kvm_nested_state *kvm_state) in svm_set_nested_state()
/linux/tools/include/uapi/linux/
H A Dkvm.h1454 #define KVM_GET_NESTED_STATE _IOWR(KVMIO, 0xbe, struct kvm_nested_state)
1455 #define KVM_SET_NESTED_STATE _IOW(KVMIO, 0xbf, struct kvm_nested_state)
/linux/arch/x86/include/asm/
H A Dkvm_host.h2023 struct kvm_nested_state __user *user_kvm_nested_state,
2026 struct kvm_nested_state __user *user_kvm_nested_state,
2027 struct kvm_nested_state *kvm_state);
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h540 struct kvm_nested_state { struct
/linux/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h442 struct kvm_nested_state nested; in rdtsc()
/linux/arch/x86/kvm/vmx/
H A Dnested.c6745 struct kvm_nested_state __user *user_kvm_nested_state, in vmx_get_nested_state()
6750 struct kvm_nested_state kvm_state = { in vmx_get_nested_state()
6899 struct kvm_nested_state __user *user_kvm_nested_state, in vmx_set_nested_state()
6900 struct kvm_nested_state *kvm_state) in vmx_set_nested_state()
/linux/arch/x86/kvm/
H A Dx86.c6528 struct kvm_nested_state __user *user_kvm_nested_state = argp; in kvm_arch_vcpu_ioctl()
6557 struct kvm_nested_state __user *user_kvm_nested_state = argp; in kvm_arch_vcpu_ioctl()
6558 struct kvm_nested_state kvm_state; in kvm_arch_vcpu_ioctl()
/linux/Documentation/virt/kvm/
H A Dapi.rst4908 :Parameters: struct kvm_nested_state (in/out)
4920 struct kvm_nested_state {
4994 :Parameters: struct kvm_nested_state (in)
4997 This copies the vcpu's kvm_nested_state struct from userspace to the kernel.
4998 For the definition of struct kvm_nested_state, see KVM_GET_NESTED_STATE.