dm: vmmapi: augment the vm_get_config() vmmapi to include a struct platform_info* parameter

This allows users to retrieve and use the requested platform_info information from hypervisor

Tracked-On: #6020
Reviewed-by: Wang, Yu1 <yu1.wang@intel.com>
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
This commit is contained in:
dongshen
2021-05-19 17:33:03 -07:00
committed by wenlingz
parent 3e1fa0fb98
commit 6680208ed9
4 changed files with 25 additions and 5 deletions

View File

@@ -337,7 +337,7 @@ uint8_t *build_vrtct(struct vmctx *ctx, void *cfg)
vrtct->length = sizeof(struct acpi_table_hdr);
vrtct->checksum = 0;
if (vm_get_config(ctx, &vm_cfg)) {
if (vm_get_config(ctx, &vm_cfg, NULL)) {
pr_err("%s, get VM configuration fail.\n", __func__);
goto error;
}