mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-09 02:24:45 +00:00
acrn-config: add support to parse board defconfig from configurations
Board defconfig depends on hypervisor configurations and vm configurations, add this to support to parse board defconfig from vm configuration. Tracked-On: #4634 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com> Acked-by: Terry Zou <terry.zou@intel.com>
This commit is contained in:
@@ -194,7 +194,7 @@ def gen_logical_partition_header(vm_info, config):
|
||||
print('#define VM{0}_CONFIG_OS_BOOTARG_MAXCPUS\t\t"maxcpus={1} "'.format(
|
||||
i, cpu_bits['cpu_num']), file=config)
|
||||
print('#define VM{0}_CONFIG_OS_BOOTARG_CONSOLE\t\t"console={1} "'.format(
|
||||
i, vm_info.os_cfg.kern_console[i].strip('/dev/')), file=config)
|
||||
i, vm_info.os_cfg.kern_console.strip('/dev/')), file=config)
|
||||
print("", file=config)
|
||||
|
||||
print('/* VM pass-through devices assign policy:', file=config)
|
||||
|
||||
Reference in New Issue
Block a user