/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_set_nested_state_test.c | 29 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 D | machine.c | 1083 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 D | cpu.h | 2011 struct kvm_nested_state *nested_state;
|
/openbmc/linux/tools/testing/selftests/kvm/include/ |
H A D | kvm_util_base.h | 570 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 D | kvm.h | 492 struct kvm_nested_state { struct
|
/openbmc/linux/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 492 struct kvm_nested_state { struct
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A D | nested.c | 1581 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 D | kvm_host.h | 1764 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 D | kvm.h | 1355 #define KVM_GET_NESTED_STATE _IOWR(KVMIO, 0xbe, struct kvm_nested_state) 1356 #define KVM_SET_NESTED_STATE _IOW(KVMIO, 0xbf, struct kvm_nested_state)
|
/openbmc/qemu/linux-headers/asm-x86/ |
H A D | kvm.h | 497 struct kvm_nested_state { struct
|
/openbmc/linux/include/uapi/linux/ |
H A D | kvm.h | 1677 #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 D | kvm.h | 1670 #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 D | processor.h | 386 struct kvm_nested_state nested;
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | nested.c | 6459 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 D | x86.c | 5970 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 D | api.rst | 4765 :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 D | kvm.c | 2336 assert(max_nested_state_len >= offsetof(struct kvm_nested_state, data)); in kvm_arch_init_vcpu()
|