mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-16 06:19:24 +00:00
hv: Build fix - ACRN partition mode
Patch to fix compile issue. Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
This commit is contained in:
committed by
lijinxia
parent
c5dcb34f39
commit
925503ce36
@@ -215,7 +215,7 @@ static int vdev_pt_remap_bar(struct pci_vdev *vdev, uint32_t idx,
|
||||
|
||||
if (new_base != 0U) {
|
||||
/* Map the physical BAR in the guest MMIO space */
|
||||
error = ept_mr_add(vm,
|
||||
error = ept_mr_add(vm, (uint64_t *)vm->arch_vm.nworld_eptp,
|
||||
vdev->pdev.bar[idx].base, /* HPA */
|
||||
new_base, /*GPA*/
|
||||
vdev->bar[idx].size,
|
||||
|
Reference in New Issue
Block a user