mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-18 19:57:31 +00:00
vlapic: apicv_get_apic_access_addr should get hpa
APIC-access page which write into VMCS should be hpa Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
241efb2da6
commit
f98a7ca90a
@ -2263,7 +2263,7 @@ apicv_get_apic_access_addr(__unused struct vm *vm)
|
||||
|
||||
memset((void *)apicv_apic_access_addr, 0, CPU_PAGE_SIZE);
|
||||
}
|
||||
return (uint64_t)(apicv_apic_access_addr);
|
||||
return HVA2HPA(apicv_apic_access_addr);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user