[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] 1/1 Better expose xenstore limits



Hi,

The attached patch announces the limits regarding:

XENSTORE_PAYLOAD_MAX, XENSTORE_ABS_PATH_MAX and XENSTORE_REL_PATH_MAX in
the public xs.h.

These are already defined in xs_wire, however, not many people dig that
far when using xs.h.

Since xs.h already includes xs_wire, this patch duplicates those limits
as XS_PAYLOAD_MAX, XS_ABS_PATH_MAX and XS_REL_PATH_MAX. Moving these
would be a pain, but they really need to be advertised.

Such limits should be obvious in the headers that people actually use
outside of the kernel, saving them from wondering what went wrong.

Added comments direct people to xs_wire.h , in case those limits change.

Signed-off-by: Tim Post <echo@xxxxxxxxxxxx>


Attachment: xenstore-expose-limits.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.