mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-27 23:15:00 +00:00
hv: Build mptable for OS in partition mode
This patch is an extension to the commit 6643adff8b.
It uses the mptable API to build mptable for each VM booted by ACRN in partition mode.
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
This commit is contained in:
committed by
lijinxia
parent
e40b998d21
commit
0c88f9b800
@@ -433,6 +433,8 @@ int prepare_vm(uint16_t pcpu_id)
|
||||
ret = create_vm(vm_desc, &vm);
|
||||
ASSERT(ret == 0, "VM creation failed!");
|
||||
|
||||
mptable_build(vm);
|
||||
|
||||
prepare_vcpu(vm, vm_desc->vm_pcpu_ids[0]);
|
||||
|
||||
/* Prepare the AP for vm */
|
||||
|
||||
Reference in New Issue
Block a user