From 11da9e94754f09a8778474dfb935abe776c13751 Mon Sep 17 00:00:00 2001 From: Yifan Liu Date: Wed, 1 Jun 2022 16:20:29 +0800 Subject: [PATCH] misc: Limit IVSHMEM region name to 27 characters Current IVSHMEM region name does not have size limit. This patch limits it to 27 characters so that land specifier ("hv:/" or "dm:/") plus region name can fit into an array of 32 characters. Also change some descriptive messages. Tracked-On: #7707 Signed-off-by: Yifan Liu --- misc/config_tools/schema/types.xsd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/config_tools/schema/types.xsd b/misc/config_tools/schema/types.xsd index 30a24ccad..cdfffb218 100644 --- a/misc/config_tools/schema/types.xsd +++ b/misc/config_tools/schema/types.xsd @@ -245,14 +245,14 @@ Read more about the available scheduling options in :ref:`cpu_sharing`. - Name of the shared memory region. + Name of the shared memory region. The name must be between 1-27 characters and contain only letters, digits and "_". - A string with no spaces. + Must be 1-27 characters and only letters, digits and "_". - +