mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-03 12:49:45 +00:00
- add new struct member for acrn_vm_config; - add sharing_config.c file with initialized vm_config array; - add SOS VM config header for apl-mrb/apl-nuc/up2 and dnv-cb2 board; - and partition_config.c file with dummy vm_config array; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
25 lines
515 B
C
25 lines
515 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,
|
|
.pcpu_bitmap = SOS_VM_CONFIG_PCPU_BITMAP,
|
|
.guest_flags = SOS_VM_CONFIG_GUEST_FLAGS,
|
|
.memory = {
|
|
.start_hpa = 0x0UL,
|
|
.size = SOS_VM_CONFIG_MEM_SIZE,
|
|
},
|
|
.os_config = {
|
|
.name = SOS_VM_CONFIG_OS_NAME,
|
|
},
|
|
},
|
|
};
|