From d90fee9fd84bd1bcd8c41fa4eb241f839a40ca9f Mon Sep 17 00:00:00 2001 From: Conghui Chen Date: Mon, 8 Jul 2019 20:00:29 +0800 Subject: [PATCH] hv: add vuart for VM2 in hybrid scenario Add vuart COM1: port base: 0x3F8 irq: 4 for LaaG (VM2) in hybird scenario. Tracked-On: #3370 Signed-off-by: Conghui Chen Acked-by: Eddie Dong --- hypervisor/scenarios/hybrid/vm_configurations.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hypervisor/scenarios/hybrid/vm_configurations.c b/hypervisor/scenarios/hybrid/vm_configurations.c index bd6fae580..a931180cc 100644 --- a/hypervisor/scenarios/hybrid/vm_configurations.c +++ b/hypervisor/scenarios/hybrid/vm_configurations.c @@ -79,7 +79,8 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = { /* d2795438-25d6-11e8-864e-cb7a18b34643 */ .vuart[0] = { .type = VUART_LEGACY_PIO, - .addr.port_base = INVALID_COM_BASE, + .addr.port_base = COM1_BASE, + .irq = COM1_IRQ, }, .vuart[1] = { .type = VUART_LEGACY_PIO,