HV: add VM uuid and type for pre-launched RTVM

add VM UUID and CONFIG_XX_VM() api for pre-launched RTVM;

Tracked-On: #5081
Signed-off-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Victor Sun 2020-07-23 09:55:18 +08:00 committed by wenlingz
parent 175b20770a
commit 8bcab8e294
2 changed files with 8 additions and 0 deletions

View File

@ -50,6 +50,10 @@
.uuid = PRE_STANDARD_VM_UUID##idx, \
.severity = SEVERITY_STANDARD_VM
#define CONFIG_PRE_RT_VM(idx) .load_order = PRE_LAUNCHED_VM, \
.uuid = PRE_RTVM_UUID##idx, \
.severity = SEVERITY_RTVM
#define CONFIG_POST_STD_VM(idx) .load_order = POST_LAUNCHED_VM, \
.uuid = POST_STANDARD_VM_UUID##idx, \
.severity = SEVERITY_STANDARD_VM

View File

@ -43,6 +43,10 @@
#define POST_STANDARD_VM_UUID5 {0xd1U, 0x81U, 0x6eU, 0x4aU, 0xa9U, 0xbbU, 0x4cU, 0xb4U, \
0xa0U, 0x66U, 0x3fU, 0x1aU, 0x8aU, 0x5cU, 0xe7U, 0x3fU}
/* b2a92bec-ca6b-11ea-b106-3716a8ba0bb9 */
#define PRE_RTVM_UUID1 {0xb2U, 0xa9U, 0x2bU, 0xecU, 0xcaU, 0x6bU, 0x11U, 0xeaU, \
0xb1U, 0x06U, 0x37U, 0x16U, 0xa8U, 0xbaU, 0x0bU, 0xb9}
/* 495ae2e5-2603-4d64-af76-d4bc5a8ec0e5 */
#define POST_RTVM_UUID1 {0x49U, 0x5aU, 0xe2U, 0xe5U, 0x26U, 0x03U, 0x4dU, 0x64U, \
0xafU, 0x76U, 0xd4U, 0xbcU, 0x5aU, 0x8eU, 0xc0U, 0xe5U}