mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 23:57:10 +00:00
When pcpu enter guest mode, it will call launch_vms() function to launch VMs in global vm_configs array. In launch_vms() function, current pcpu will go through vm_config array list and check whether it is a bsp of configured VM, if yes then it will prepare corresponding VM and start it. The index of vm_config array will be specified to VM id. The first least significant bit in pcpu_bitmap means the bsp of the VM. Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>