diff options
author | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2010-06-23 17:04:26 +0100 |
---|---|---|
committer | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2010-06-23 17:04:26 +0100 |
commit | caaaad749ab5e81c3c90043b6112b290e41e972b (patch) | |
tree | 6261e2c4c171bd9d9ba3bd611f27b51caf364dbd /tools/libxc/xc_core.c | |
parent | e724c3fa8860de463cfeddca9932571e6cb1883a (diff) | |
download | xen-caaaad749ab5e81c3c90043b6112b290e41e972b.tar.gz xen-caaaad749ab5e81c3c90043b6112b290e41e972b.tar.bz2 xen-caaaad749ab5e81c3c90043b6112b290e41e972b.zip |
libxl: make libxl_wait_for_device_model clearer
at the moment libxl_wait_for_device_model waits on a xenstore watch
before checking the current value of the xenstore node, that might
contain already the value the function was looking for.
This patch changes libxl_wait_for_device_model so that it checks the
value of the xenstore node first, then waits for the watch.
xenstore watch automatically fire one time when you install them for
this exact same purpose, so the previous code is not wrong, but this
version is clearer.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xc_core.c')
0 files changed, 0 insertions, 0 deletions