mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 17:21:22 +00:00
The sos_vm config under arch/x86/configs/$(CONFIG_BOARD) folder should be customer specific configuration, leave it back to customer. When hypervisor start building, it will check whether BOARD specific sos_vm.h exist in configs/$(CONFIG_BOARD) folder. If exist, then include this header; if not, then include default sos_vm config header under configs/default folder. Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
24 lines
468 B
C
24 lines
468 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <hypervisor.h>
|
|
#include <sos_vm.h>
|
|
|
|
struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] __aligned(PAGE_SIZE) = {
|
|
{
|
|
.type = SOS_VM,
|
|
.name = SOS_VM_CONFIG_NAME,
|
|
.guest_flags = SOS_VM_CONFIG_GUEST_FLAGS,
|
|
.memory = {
|
|
.start_hpa = 0x0UL,
|
|
.size = CONFIG_SOS_RAM_SIZE,
|
|
},
|
|
.os_config = {
|
|
.name = SOS_VM_CONFIG_OS_NAME,
|
|
},
|
|
},
|
|
};
|