hv: Support HV console for multiple VMs - ACRN partition mode

ACRN in partition mode provides vUART for all VMs. This patch adds
support to add console redirection for multiple VMs.

Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
This commit is contained in:
Sainath Grandhi
2018-08-16 00:50:30 -07:00
committed by wenlingz
parent b8c1fd6104
commit b17de6a7e6
3 changed files with 24 additions and 1 deletions

View File

@@ -59,7 +59,9 @@ struct vuart {
struct vm *vm;
spinlock_t lock; /* protects all softc elements */
};
#ifdef CONFIG_PARTITION_MODE
extern int8_t vuart_vmid;
#endif
#ifdef HV_DEBUG
void *vuart_init(struct vm *vm);
struct vuart *vuart_console_active(void);