mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 17:46:15 +00:00
HV: make vm kernel type configurable
Different kernel has different load method, it should be configurable in vm configurations; Tracked-On: #3214 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -26,6 +26,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
},
|
||||
.os_config = {
|
||||
.name = "ClearLinux",
|
||||
.kernel_type = KERNEL_BZIMAGE,
|
||||
.bootargs = VM0_CONFIG_OS_BOOTARG_CONSOLE \
|
||||
VM0_CONFIG_OS_BOOTARG_MAXCPUS \
|
||||
VM0_CONFIG_OS_BOOTARG_ROOT \
|
||||
@@ -64,6 +65,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
},
|
||||
.os_config = {
|
||||
.name = "ClearLinux",
|
||||
.kernel_type = KERNEL_BZIMAGE,
|
||||
.bootargs = VM1_CONFIG_OS_BOOTARG_CONSOLE \
|
||||
VM1_CONFIG_OS_BOOTARG_MAXCPUS \
|
||||
VM1_CONFIG_OS_BOOTARG_ROOT \
|
||||
|
||||
Reference in New Issue
Block a user