mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-13 09:02:53 +00:00
hv: remove MAX_KATA_VM_NUM and CONFIG_KATA_VM
Since the UUID is not a *must* set parameter for the standard post-launched
VM which doesn't depend on any static VM configuration. We can remove
the KATA related code from hypervisor as it belongs to such VM type.
v2-->v3:
separate the struce acrn_platform_info change of devicemodel
v1-->v2:
update the subject and commit msg
Tracked-On:#6685
Signed-off-by: Chenli Wei <chenli.wei@intel.com>
Reviewed-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
@@ -52,9 +52,6 @@
|
||||
#define CONFIG_POST_RT_VM(idx) .load_order = POST_LAUNCHED_VM, \
|
||||
.severity = SEVERITY_RTVM
|
||||
|
||||
#define CONFIG_KATA_VM(idx) .load_order = POST_LAUNCHED_VM, \
|
||||
.severity = SEVERITY_STANDARD_VM
|
||||
|
||||
/* ACRN guest severity */
|
||||
enum acrn_vm_severity {
|
||||
SEVERITY_SAFETY_VM = 0x40U,
|
||||
|
||||
@@ -337,10 +337,8 @@ struct acrn_platform_info {
|
||||
*/
|
||||
uint64_t vm_configs_addr;
|
||||
|
||||
/** Maximum Kata container number in Service VM */
|
||||
uint64_t max_kata_containers;
|
||||
/** Align the size of Configuration info to 128Bytes. */
|
||||
uint8_t reserved[104];
|
||||
uint8_t reserved[112];
|
||||
} sw;
|
||||
} __aligned(8);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user