package xenstore
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=11b63bb2a5a8bc487d36f36ecb195b2a2135aa13ab401cbc73da67505c08faa4
sha512=b921aa4265503677f4984007efee6865461a18031dc49583be040781307cc6cbfcd84bc11e9ebc0a23e9b0cf281bd94528c475624bc30471ad8ff70607e0732f
doc/xenstore.unix/Xs_client_unix/Client/index.html
Module Xs_client_unix.Client
Source
Parameters
Signature
A multiplexing xenstore client.
Set a callback in order to get logging from the library
set_watch_callback cb
registers a manual watch callback.
A handle represents a single thread's xenstore access.
Access xenstore with individual operations.
Access xenstore with a single transaction. On conflict the Eagain error will not be handled but will be passed up to the caller.
Access xenstore with a single transaction. On conflict the operation may be attempted again, up to a total of (max attempts 1) attempts. If the last of those fails with a conflict, the Eagain exception will be raised to the caller.
DEPRECATED! Access xenstore with a single transaction. On conflict the operation will be repeated INDEFINITELY, with no guarantee of eventual success or termination.
Wait for some condition to become true and return a value. The function argument should throw Eagain if the condition is not met, and the condition will be re-evaluated when paths change.
directory h path
returns the directory listing of path
.
read h path
returns the value at path
or raises Enoent.
setperms h k acl
sets the permissions of k
to acl
.
getdomainpath domid
returns the local directory of domain domid
.
watch h path token
registers a manual watch at path
with token
.
unwatch h path token
unregisters a manual watch at path
with token
.
introduce h domid store_mfn store_port
called by a toolstack to signal the construction of a new domain.