mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-03-18 19:14:53 +00:00
vm_config size can be calced by platform_info.sw.max_vms * platform_info.sw.vm_config_size. Change vm_get_config() to call IOCTL ACRN_IOCTL_GET_PLATFORM_INFO twice, first to get platform_info, second to get the vm_configs content. Tracked-On: #6282 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>