hv: tee: Support the concept of companion VM

Add a configuration to support companion VM.

Tracked-On: #6571
Signed-off-by: Jie Deng <jie.deng@intel.com>
Reviewed-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
Jie Deng
2021-11-12 09:45:05 +08:00
committed by wenlingz
parent 71ae0fdabf
commit c4d59c8f91
3 changed files with 7 additions and 0 deletions

View File

@@ -156,6 +156,7 @@ struct acrn_vm_config {
* We could add more guest flags in future;
*/
uint32_t vm_prio; /* The priority for VM vCPU scheduling */
uint16_t companion_vm_id; /* The companion VM id for this VM */
struct acrn_vm_mem_config memory; /* memory configuration of VM */
struct epc_section epc; /* EPC memory configuration of VM */
uint16_t pci_dev_num; /* indicate how many PCI devices in VM */