hv: modify printf "not support the vuart index parameter" in vuart_register_io_handler

call vuart_register_io_handler function, when the parameter vuart_idx is greater
than or equal to 2, print the vuart index value which will not register the vuart.

Tracked-On: #4072
Signed-off-by: Jidong Xia <xiajidong@cmss.chinamobile.com>
This commit is contained in:
Jidong Xia 2019-11-11 17:12:21 +08:00 committed by wenlingz
parent 40439e1d84
commit 26c45a0c70
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ static bool vuart_register_io_handler(struct acrn_vm *vm, uint16_t port_base, ui
pio_idx = UART_PIO_IDX1;
break;
default:
printf("Not support vuart index %d, will not register \n");
printf("Not support vuart index %d, will not register \n", vuart_idx);
ret = false;
}
if (ret != 0U) {