Note: lists.projectacrn.org will be down for maintenance on Wednesday, October 5th, starting at 9AM Pacific Time (4PM Wednesday October 5, 2022 UTC), for approximately one hour.
- [PATCH v6 3/4] hv: move the MAX_VUART_NUM_PER_VM to offline tool
Re: [PATCH v6 3/4] hv: move the MAX_VUART_NUM_PER_VM to offline tool
I am fine with this. Once you get +1 for the misc patches, please PR.
toggle quoted messageShow quoted text
From: acrn-dev@... <acrn-dev@...> On
Behalf Of chenli.wei
Sent: Thursday, May 12, 2022 1:16 AM
To: Mao, Junjie <junjie.mao@...>; acrn-dev@...
Cc: Wei, Chenli <chenli.wei@...>
Subject: [acrn-dev] [PATCH v6 3/4] 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.
1.move the define of MAX_VUART_NUM_PER_VM to offline tool
Signed-off-by: Chenli Wei <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
index d985d7081..7e58a88b5 100644
@@ -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
Join firstname.lastname@example.org to automatically receive all group messages.