mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-05-14 02:34:12 +00:00
/proc/cpuinfo represents online CPUs only, and the number of CPUs is limited by the 'maxcpus' option. /sys/devices/system/cpu/possible is a better option for our purpose since it represents the possible CPUs that can ever be available in the system, including the offline CPUs. And it's not limited by 'maxcpus'. Though the Linux command line parameter nr_cpus and possible_cpus still have impact on /sys/devices/system/cpu/possible. Tracked-On: #3854 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
folder structure Kconfig : Select working scenario and target board, configure ACRN hypervisor capabilities and features. target : Get target board information under native Linux environment and generate board_info XML. board_config : Parse board_info XML and scenario XML to generate board related configuration files under misc/acrn-config/xmls/board-xmls/ folder. scenario_config : Parse board_info XML and scenario XML to generate scenario based VM configuration files under misc/acrn-config/xmls/config-xmls/$(BOARD)/ folder. launch_config : Parse board_info XML, scenario XML and devicemodel param XML to generate launch script for post-launched vm under misc/acrn-config/xmls/config-xmls/$(BOARD)/ folder. library : The folder stores shared software modules or libs for acrn-config offline tool.