mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-28 10:04:14 +00:00
This commmit added one more guest VM to the industry scenario, to be aligned with the HLD for the industry usage. With this commit, 4 VMs could be launched at maximum: 1 SOS VM and 3 post-launced VM. Tracked-On: #3039 Signed-off-by: Yan, Like <like.yan@intel.com>
18 lines
502 B
C
18 lines
502 B
C
/*
|
|
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef VM_CONFIGURATIONS_H
|
|
#define VM_CONFIGURATIONS_H
|
|
|
|
#define CONFIG_MAX_VM_NUM 4U
|
|
|
|
/* Bits mask of guest flags that can be programmed by device model. Other bits are set by hypervisor only */
|
|
#define DM_OWNED_GUEST_FLAG_MASK (GUEST_FLAG_SECURE_WORLD_ENABLED | GUEST_FLAG_LAPIC_PASSTHROUGH | \
|
|
GUEST_FLAG_RT | GUEST_FLAG_IO_COMPLETION_POLLING)
|
|
|
|
|
|
#endif /* VM_CONFIGURATIONS_H */
|