From eab4e42e7b4f7988218b618bfbb52ad08a6922ee Mon Sep 17 00:00:00 2001 From: Conghui Chen Date: Wed, 14 Aug 2019 11:18:01 +0000 Subject: [PATCH] hv: enable console vuart in industry scenario Enable console vuart for the reset of VMs in industry scenario. Tracked-On: #3370 Signed-off-by: Conghui Chen Reviewed-by: Eddie Dong --- hypervisor/scenarios/industry/vm_configurations.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hypervisor/scenarios/industry/vm_configurations.c b/hypervisor/scenarios/industry/vm_configurations.c index c771803c3..0151de4cf 100644 --- a/hypervisor/scenarios/industry/vm_configurations.c +++ b/hypervisor/scenarios/industry/vm_configurations.c @@ -46,7 +46,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, @@ -64,7 +65,8 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = { .guest_flags = GUEST_FLAG_HIGHEST_SEVERITY, .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, @@ -79,7 +81,8 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = { /* 38158821-5208-4005-b72a-8a609e4190d0 */ .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,