mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-02 05:34:04 +00:00
Hypervisor reports VM configuration information to SOS which can be used to dynamically allocate VCPU affinity. Servise OS can get the vm_configs in this order: 1. call platform_info HC (set vm_configs_addr with 0) to get max_vms and vm_config_entry_size. 2. allocate memory for acrn_vm_config array based on the number of VMs and entry size that just got in step 1. 3. call platform_info HC again to collect VM configurations. Tracked-On: #4616 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> |
||
---|---|---|
.. | ||
acrn_common.h | ||
acrn_hv_defs.h |