mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-29 12:35:48 +00:00
hv: Use new struct acrn_platform_info to adapt new HSM driver
struct hc_platform_info -> struct acrn_platform_info MAX_PLATFORM_LAPIC_IDS -> ACRN_PLATFORM_LAPIC_IDS_MAX A layout change to the struct hc_platform_info is that move max_kata_containers to back of vm_config_size, uint16_t max_vcpus_per_vm; uint16_t max_vms; uint32_t vm_config_size; uint64_t max_kata_containers; Then, they are nature 64-bits aligned. Tracked-On: #6282 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
This commit is contained in:
@@ -61,7 +61,7 @@ int32_t hcall_get_api_version(struct acrn_vcpu *vcpu, struct acrn_vm *target_vm,
|
||||
*
|
||||
* @param vcpu Pointer to vCPU that initiates the hypercall.
|
||||
* @param target_vm not used
|
||||
* @param param1 GPA pointer to struct hc_platform_info.
|
||||
* @param param1 GPA pointer to struct acrn_platform_info.
|
||||
* @param param2 not used
|
||||
*
|
||||
* @pre is_sos_vm(vcpu->vm)
|
||||
|
Reference in New Issue
Block a user