From b382448d693dcad3da0a0cf68598528010c852f2 Mon Sep 17 00:00:00 2001 From: Chenli Wei Date: Tue, 9 Nov 2021 10:52:17 +0800 Subject: [PATCH] devicemodel: 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 Reviewed-by: Wang, Yu1 --- devicemodel/include/public/hsm_ioctl_defs.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/devicemodel/include/public/hsm_ioctl_defs.h b/devicemodel/include/public/hsm_ioctl_defs.h index 8b5ef4b99..3c89f4f21 100644 --- a/devicemodel/include/public/hsm_ioctl_defs.h +++ b/devicemodel/include/public/hsm_ioctl_defs.h @@ -258,9 +258,7 @@ struct acrn_platform_info { * store the VM configurations */ void *vm_configs_addr; - /** Maximum number of VM for Kata containers */ - __u64 max_kata_containers; - __u8 reserved[104]; + __u8 reserved[112]; } sw; };