mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-09 02:24:45 +00:00
hv: add scenario for the industry use case
This scenario is typical for industry usage with 3 VMs: 1 pre-launched SOS VM, 1 post-launched user VM for HMI and 1 post-launched RT VM for real-time control. Tracked-On: #3039 Signed-off-by: Yan, Like <like.yan@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
a090d03780
commit
624185c3ca
17
hypervisor/scenarios/industry/vm_configurations.h
Normal file
17
hypervisor/scenarios/industry/vm_configurations.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* 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 3U
|
||||
|
||||
/* 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 */
|
||||
Reference in New Issue
Block a user