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 <liu.ming50@gmail.com>
This commit is contained in:
Ming Liu 2018-11-16 22:31:48 +01:00 committed by lijinxia
parent 5d013ed2ba
commit 7978188c1d
1 changed files with 1 additions and 1 deletions

View File

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