Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/include/uapi/asm/
Dkvm.h465 __u8 shadow_vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE]; member
/Linux-v6.6/tools/arch/x86/include/uapi/asm/
Dkvm.h465 __u8 shadow_vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE]; member
/Linux-v6.6/arch/x86/kvm/vmx/
Dnested.c6444 kvm_state.size += sizeof(user_vmx_nested_state->shadow_vmcs12); in vmx_get_nested_state()
6509 BUILD_BUG_ON(sizeof(user_vmx_nested_state->shadow_vmcs12) < VMCS12_SIZE); in vmx_get_nested_state()
6520 if (copy_to_user(user_vmx_nested_state->shadow_vmcs12, in vmx_get_nested_state()
6675 struct vmcs12 *shadow_vmcs12 = get_shadow_vmcs12(vcpu); in vmx_set_nested_state() local
6679 sizeof(user_vmx_nested_state->vmcs12) + sizeof(*shadow_vmcs12)) in vmx_set_nested_state()
6682 if (copy_from_user(shadow_vmcs12, in vmx_set_nested_state()
6683 user_vmx_nested_state->shadow_vmcs12, in vmx_set_nested_state()
6684 sizeof(*shadow_vmcs12))) { in vmx_set_nested_state()
6689 if (shadow_vmcs12->hdr.revision_id != VMCS12_REVISION || in vmx_set_nested_state()
6690 !shadow_vmcs12->hdr.shadow_vmcs) in vmx_set_nested_state()
/Linux-v6.6/Documentation/virt/kvm/
Dapi.rst4824 __u8 shadow_vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE];