From c96fb1cb0ab3d172eb580de1653c6ff81af3b575 Mon Sep 17 00:00:00 2001 From: Chenli Wei Date: Sat, 30 Apr 2022 15:58:41 +0800 Subject: [PATCH] hv: move the MAX_VUART_NUM_PER_VM to offline tool Current code limit the MAX vUART number to 8 which is not enough for Service VM which should config S5 UART for each user VM. We could count how many vUARTs we need by offline tool, so remove the define of MAX_VUART_NUM_PER_VM to offline tool is a simple and accurate way to allocate vUARTs. Tracked-On: #8782 Signed-off-by: Chenli Wei --- hypervisor/include/arch/x86/asm/vm_config.h | 1 - 1 file changed, 1 deletion(-) diff --git a/hypervisor/include/arch/x86/asm/vm_config.h b/hypervisor/include/arch/x86/asm/vm_config.h index d985d7081..7e58a88b5 100644 --- a/hypervisor/include/arch/x86/asm/vm_config.h +++ b/hypervisor/include/arch/x86/asm/vm_config.h @@ -18,7 +18,6 @@ #define AFFINITY_CPU(n) (1UL << (n)) #define MAX_VCPUS_PER_VM MAX_PCPU_NUM -#define MAX_VUART_NUM_PER_VM 8U #define MAX_VM_OS_NAME_LEN 32U #define MAX_MOD_TAG_LEN 32U