mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-18 16:14:08 +00:00
The GET_PLATFORM_INFO will be removed from hypervisor. The acrn-dm can only refer to Service VM's resources from now, all the resources out of Service VM are not awared by acrn-dm. The original info got from GET_PLATFORM_INFO needs to changed to Service VM's perspective like lapic id. The pcpu_id is the index of lapic instance in MADT table. This patch parses the Service VM's MADT table to convert the pcpu_id to lapic_id instead of GET_PLATFORM_INFO. Tracked-On: #6690 Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@linux.intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>