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:
Chenli Wei
2021-11-09 10:50:40 +08:00
committed by wenlingz
parent 5078abc07b
commit 97e8c9457d
3 changed files with 1 additions and 7 deletions

View File

@@ -214,7 +214,6 @@ int32_t hcall_get_platform_info(struct acrn_vcpu *vcpu, __unused struct acrn_vm
pi.hw.cpu_num = pcpu_nums;
pi.hw.version = 0x100; /* version 1.0; byte[1:0] = major:minor version */
pi.sw.max_vcpus_per_vm = MAX_VCPUS_PER_VM;
pi.sw.max_kata_containers = CONFIG_MAX_KATA_VM_NUM;
pi.sw.max_vms = CONFIG_MAX_VM_NUM;
pi.sw.vm_config_size = entry_size;