HV: refine sos_vm config header

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>
This commit is contained in:
Victor Sun
2019-01-23 15:52:37 +08:00
committed by Eddie Dong
parent 66e0023029
commit c20d095a63
8 changed files with 13 additions and 59 deletions

View File

@@ -1,17 +0,0 @@
/*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef SOS_VM_CONFIG_H
#define SOS_VM_CONFIG_H
#define SOS_VM_CONFIG_NAME "ACRN SOS VM for DNV-CB2"
#define SOS_VM_CONFIG_MEM_SIZE 0x400000000UL
#define SOS_VM_CONFIG_PCPU_BITMAP (PLUG_CPU(0) | PLUG_CPU(1) | PLUG_CPU(2) | PLUG_CPU(3) \
| PLUG_CPU(4) | PLUG_CPU(5) | PLUG_CPU(6) | PLUG_CPU(7))
#define SOS_VM_CONFIG_GUEST_FLAGS IO_COMPLETION_POLLING
#define SOS_VM_CONFIG_OS_NAME "ClearLinux 26600"
#endif /* SOS_VM_CONFIG_H */