vlapic: apicv_get_apic_page_addr should get hpa
virtual-ACPI page which write into VMCS should be hpa
Acked-by: Eddie Dong
@@ -2272,7 +2272,7 @@ apicv_get_apic_access_addr(__unused struct vm *vm)
uint64_t
apicv_get_apic_page_addr(struct vlapic *vlapic)
{
- return (uint64_t)(vlapic->apic_page);
+ return HVA2HPA(vlapic->apic_page);
}
/*
