Searched refs:shadow_vmcs12 (Results 1 – 2 of 2) sorted by relevance
401 __u8 shadow_vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE]; member
5546 kvm_state.size += sizeof(user_vmx_nested_state->shadow_vmcs12); in vmx_get_nested_state()5590 BUILD_BUG_ON(sizeof(user_vmx_nested_state->shadow_vmcs12) < VMCS12_SIZE); in vmx_get_nested_state()5601 if (copy_to_user(user_vmx_nested_state->shadow_vmcs12, in vmx_get_nested_state()5743 struct vmcs12 *shadow_vmcs12 = get_shadow_vmcs12(vcpu); in vmx_set_nested_state() local5747 sizeof(user_vmx_nested_state->vmcs12) + sizeof(*shadow_vmcs12)) in vmx_set_nested_state()5750 if (copy_from_user(shadow_vmcs12, in vmx_set_nested_state()5751 user_vmx_nested_state->shadow_vmcs12, in vmx_set_nested_state()5752 sizeof(*shadow_vmcs12))) { in vmx_set_nested_state()5757 if (shadow_vmcs12->hdr.revision_id != VMCS12_REVISION || in vmx_set_nested_state()5758 !shadow_vmcs12->hdr.shadow_vmcs) in vmx_set_nested_state()