Home
last modified time | relevance | path

Searched refs:shadow_vmcs12 (Results 1 – 3 of 3) sorted by relevance

/linux/arch/x86/kvm/vmx/
H A Dnested.c6628 kvm_state.size += sizeof(user_vmx_nested_state->shadow_vmcs12); in vmx_get_nested_state()
6693 BUILD_BUG_ON(sizeof(user_vmx_nested_state->shadow_vmcs12) < VMCS12_SIZE); in vmx_get_nested_state()
6704 if (copy_to_user(user_vmx_nested_state->shadow_vmcs12, in vmx_get_nested_state()
6861 struct vmcs12 *shadow_vmcs12 = get_shadow_vmcs12(vcpu); in vmx_set_nested_state() local
6865 sizeof(user_vmx_nested_state->vmcs12) + sizeof(*shadow_vmcs12)) in vmx_set_nested_state()
6868 if (copy_from_user(shadow_vmcs12, in vmx_set_nested_state()
6869 user_vmx_nested_state->shadow_vmcs12, in vmx_set_nested_state()
6870 sizeof(*shadow_vmcs12))) { in vmx_set_nested_state()
6875 if (shadow_vmcs12->hdr.revision_id != VMCS12_REVISION || in vmx_set_nested_state()
6876 !shadow_vmcs12->hdr.shadow_vmcs) in vmx_set_nested_state()
/linux/arch/x86/include/uapi/asm/
H A Dkvm.h472 __u8 shadow_vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE]; member
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h472 __u8 shadow_vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE]; member