From 7978188c1ddc003ed61a976fe0a4497e5675c3b0 Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Fri, 16 Nov 2018 22:31:48 +0100 Subject: [PATCH] tools: acrn-manager: set MAX_NAME_LEN to 32 I am currently using Yocto build and deploy UOS images, it would be much more convenient to let the VMs to have the same names with when they are being built. For instance, a typical image name in Yocto is like: uos-image-weston, but it can not show the name completely with 'acrnctl list', since the length limit is 16. Increasing the limit to 32 would fix this problem. Tracked-On: #1837 Signed-off-by: Ming Liu --- tools/acrn-manager/acrnctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/acrn-manager/acrnctl.h b/tools/acrn-manager/acrnctl.h index 10a062f08..bcf27e7af 100644 --- a/tools/acrn-manager/acrnctl.h +++ b/tools/acrn-manager/acrnctl.h @@ -11,7 +11,7 @@ #define ACRNCTL_OPT_ROOT "/opt/acrn/conf" #define ACRN_DM_SOCK_ROOT "/run/acrn/mngr" -#define MAX_NAME_LEN (16) +#define MAX_NAME_LEN (32) enum vm_state { VM_STATE_UNKNOWN = 0,