On 09/12/2018 12:09 AM, Stefano Stabellini wrote:
+
+/* Constants for libxl_static_shm */
+#define LIBXL_SSHM_RANGE_UNKNOWN UINT64_MAX
+#define LIBXL_SSHM_ID_MAXLEN    128

Why do you need to bound the size of the string?

It is passed by the user, it is good to be clear about the max size?

I wasn't able to find other string in libxl to be bound. So I am not sure why this one would be. Maybe Wei knows?

Cheers,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to