Home
last modified time | relevance | path

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

/hypervisor/arch/x86/guest/
A Dnested.c630 static bool validate_vmptr_gpa(uint64_t vmptr_gpa) in validate_vmptr_gpa() argument
635 return (mem_aligned_check(vmptr_gpa, PAGE_SIZE) && ((vmptr_gpa >> cpu_info->phys_bits) == 0UL)); in validate_vmptr_gpa()
641 static bool validate_vmcs_revision_id(struct acrn_vcpu *vcpu, uint64_t vmptr_gpa) in validate_vmcs_revision_id() argument
645 (void)copy_from_gpa(vcpu->vm, (void *)&revision_id, vmptr_gpa, sizeof(uint32_t)); in validate_vmcs_revision_id()
754 uint64_t vmptr_gpa = get_vmptr_gpa(vcpu); in vmxon_vmexit_handler() local
756 if (!validate_vmptr_gpa(vmptr_gpa)) { in vmxon_vmexit_handler()
758 } else if (!validate_vmcs_revision_id(vcpu, vmptr_gpa)) { in vmxon_vmexit_handler()
763 vcpu->arch.nested.vmxon_ptr = vmptr_gpa; in vmxon_vmexit_handler()

Completed in 5 milliseconds