XenStore wire protocol

group xenstore_wire_protocol

Inter-domain shared memory communications.

Defines

XS_WRITE_NONE “NONE”
XS_WRITE_CREATE “CREATE”
XS_WRITE_CREATE_EXCL “CREATE|EXCL”
XENSTORE_RING_SIZE 1024
MASK_XENSTORE_IDX(idx) ((idx) & (XENSTORE_RING_SIZE-1))
XENSTORE_PAYLOAD_MAX 4096
XENSTORE_ABS_PATH_MAX 3072
XENSTORE_REL_PATH_MAX 2048
XENSTORE_SERVER_FEATURE_RECONNECTION 1
XENSTORE_CONNECTED 0 /* the steady-state */
XENSTORE_RECONNECT 1 /* guest has initiated a reconnect */

Typedefs

typedef uint32_t XENSTORE_RING_IDX

Enums

enum xsd_sockmsg_type

Values:

XS_CONTROL
XS_DIRECTORY
XS_READ
XS_GET_PERMS
XS_WATCH
XS_UNWATCH
XS_TRANSACTION_START
XS_TRANSACTION_END
XS_INTRODUCE
XS_RELEASE
XS_GET_DOMAIN_PATH
XS_WRITE
XS_MKDIR
XS_RM
XS_SET_PERMS
XS_WATCH_EVENT
XS_ERROR
XS_IS_DOMAIN_INTRODUCED
XS_RESUME
XS_SET_TARGET
XS_RESET_WATCHES = XS_SET_TARGET + 2
XS_DIRECTORY_PART
XS_TYPE_COUNT
XS_INVALID = 0xffff
enum xs_watch_type

Values:

XS_WATCH_PATH = 0
XS_WATCH_TOKEN