mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-20 20:53:46 +00:00
hv: move DM_OWNED_GUEST_FLAG_MASK to vm_config.h
Currently the MACRO(DM_OWNED_GUEST_FLAG_MASK) is generated by config-tool. It's unnecessary to generate by tool since it is fixed, the config-tool will remove this MACRO and move it to vm_config.h Tracked-On: #6366 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
07abcf9e77
commit
4cb55e58a8
@ -52,6 +52,14 @@
|
|||||||
#define CONFIG_POST_RT_VM .load_order = POST_LAUNCHED_VM, \
|
#define CONFIG_POST_RT_VM .load_order = POST_LAUNCHED_VM, \
|
||||||
.severity = SEVERITY_RTVM
|
.severity = SEVERITY_RTVM
|
||||||
|
|
||||||
|
/* Bitmask of guest flags that can be programmed by device model. Other bits are set by hypervisor only. */
|
||||||
|
#if (SERVICE_VM_NUM == 0)
|
||||||
|
#define DM_OWNED_GUEST_FLAG_MASK 0UL
|
||||||
|
#else
|
||||||
|
#define DM_OWNED_GUEST_FLAG_MASK (GUEST_FLAG_SECURE_WORLD_ENABLED | GUEST_FLAG_LAPIC_PASSTHROUGH \
|
||||||
|
| GUEST_FLAG_RT | GUEST_FLAG_IO_COMPLETION_POLLING)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* ACRN guest severity */
|
/* ACRN guest severity */
|
||||||
enum acrn_vm_severity {
|
enum acrn_vm_severity {
|
||||||
SEVERITY_SAFETY_VM = 0x40U,
|
SEVERITY_SAFETY_VM = 0x40U,
|
||||||
|
Loading…
Reference in New Issue
Block a user