mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/xs-clients: support depth with xenstore-watch
Add a "-d <depth>" parameter to xenstore-watch, allowing to specify the depth parameter of the XS_WATCH command. Using "-d" without support of depth by xenstored will refuse to set the watch(es). Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Jason Andryuk <jason.andryuk@amd.com>
This commit is contained in:
1 parent
7e7723ea07
commit
464b7f4f26
2 files changed
+24
-4
No files matched your search
@@ -17,6 +17,15 @@ event happening.
|
||||
|
||||
Show the usage information for xenstore-watch and exit the program.
|
||||
|
||||
=item B<-d> B<depth>
|
||||
|
||||
Limit the number of sub-directories below the specified I<PATH>s to be
|
||||
watched. A B<depth> of 0 will watch only the specified nodes, a B<depth>
|
||||
of 1 will watch the specified nodes and their direct children, etc.
|
||||
|
||||
Using this option requires xenstored to support the Xenstore watch depth
|
||||
feature. In case it is not supported, the B<-d> usage will be rejected.
|
||||
|
||||
=item B<-n> B<NR>
|
||||
|
||||
Stop waiting after having received B<NR> watch events.
|
||||
|
||||