acrn-hypervisor/hypervisor/bsp/uefi/vm_description.c
Fei Jiang 13850f5327 hv: change cpu configuration from 1:3 to 2:2
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
2018-07-13 08:57:31 +08:00

19 lines
383 B
C

/*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <hypervisor.h>
/* Number of CPUs in VM0 */
#define VM0_NUM_CPUS 2
/* Logical CPU IDs assigned to VM0 */
int VM0_CPUS[VM0_NUM_CPUS] = {0, 1};
struct vm_description vm0_desc = {
.vm_hw_num_cores = VM0_NUM_CPUS,
.vm_hw_logical_core_ids = &VM0_CPUS[0],
};