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 <conghui.chen@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Conghui Chen 2019-08-14 11:18:01 +00:00 committed by wenlingz
parent c7f569da30
commit eab4e42e7b
1 changed files with 6 additions and 3 deletions

View File

@ -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,