hv: Add vuart flag to VM descriptions in partition mode

ACRN in partition mode emulates UART for the VMs directly launced
from HV. This patch adds an option to enable/disable vUART for a
VM.

Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
This commit is contained in:
Sainath Grandhi
2018-08-10 11:02:42 -07:00
committed by lijinxia
parent 9e02ef54c7
commit 7380c167ed
3 changed files with 8 additions and 0 deletions

View File

@@ -190,6 +190,7 @@ struct vm_description {
struct mptable_info *mptable;
uint64_t start_hpa;
uint64_t mem_size; /* UOS memory size in hex */
bool vm_vuart;
const char *bootargs;
struct vpci_vdev_array *vpci_vdev_array;
#endif