Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
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 …]
/openbmc/qemu/target/i386/
H A Dmachine.c1083 struct kvm_nested_state *nested_state = opaque; in vmx_vmcs12_needed()
1095 struct kvm_nested_state,
1103 struct kvm_nested_state *nested_state = opaque; in vmx_shadow_vmcs12_needed()
1115 struct kvm_nested_state,
1123 struct kvm_nested_state *nested_state = opaque; in vmx_nested_state_needed()
1149 struct kvm_nested_state *nested_state = opaque; in svm_nested_state_needed()
1168 struct kvm_nested_state,
1236 VMSTATE_U16(flags, struct kvm_nested_state),
1237 VMSTATE_U16(format, struct kvm_nested_state),
1238 VMSTATE_U32(size, struct kvm_nested_state),
[all …]
H A Dcpu.h1955 struct kvm_nested_state *nested_state;
/openbmc/linux/tools/testing/selftests/kvm/include/
H A 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()
/openbmc/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h492 struct kvm_nested_state { struct
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dkvm.h492 struct kvm_nested_state { struct
/openbmc/linux/arch/x86/kvm/svm/
H A Dnested.c1581 struct kvm_nested_state __user *user_kvm_nested_state, in svm_get_nested_state()
1587 struct kvm_nested_state kvm_state = { in svm_get_nested_state()
1648 struct kvm_nested_state __user *user_kvm_nested_state, in svm_set_nested_state()
1649 struct kvm_nested_state *kvm_state) in svm_set_nested_state()
/openbmc/linux/arch/x86/include/asm/
H A Dkvm_host.h1764 struct kvm_nested_state __user *user_kvm_nested_state,
1767 struct kvm_nested_state __user *user_kvm_nested_state,
1768 struct kvm_nested_state *kvm_state);
/openbmc/qemu/linux-headers/linux/
H A Dkvm.h1343 #define KVM_GET_NESTED_STATE _IOWR(KVMIO, 0xbe, struct kvm_nested_state)
1344 #define KVM_SET_NESTED_STATE _IOW(KVMIO, 0xbf, struct kvm_nested_state)
/openbmc/qemu/linux-headers/asm-x86/
H A Dkvm.h495 struct kvm_nested_state { struct
/openbmc/linux/include/uapi/linux/
H A 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)
/openbmc/linux/tools/include/uapi/linux/
H A 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)
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h386 struct kvm_nested_state nested;
/openbmc/linux/arch/x86/kvm/vmx/
H A Dnested.c6459 struct kvm_nested_state __user *user_kvm_nested_state, in vmx_get_nested_state()
6464 struct kvm_nested_state kvm_state = { in vmx_get_nested_state()
6591 struct kvm_nested_state __user *user_kvm_nested_state, in vmx_set_nested_state()
6592 struct kvm_nested_state *kvm_state) in vmx_set_nested_state()
/openbmc/linux/arch/x86/kvm/
H A Dx86.c5970 struct kvm_nested_state __user *user_kvm_nested_state = argp; in kvm_arch_vcpu_ioctl()
5999 struct kvm_nested_state __user *user_kvm_nested_state = argp; in kvm_arch_vcpu_ioctl()
6000 struct kvm_nested_state kvm_state; in kvm_arch_vcpu_ioctl()
/openbmc/linux/Documentation/virt/kvm/
H A 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.
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c2303 assert(max_nested_state_len >= offsetof(struct kvm_nested_state, data)); in kvm_arch_init_vcpu()