When opening the connection to Xenstore via xs_open() it makes no
sense to limit the connection to the socket based one. So just ignore
the XS_OPEN_SOCKETONLY flag.
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wl@xen.org>
* * Connections made with xs_open(0) (which might be shared page or
* socket based) are only guaranteed to work in the parent after
* fork.
- * * Connections made with xs_open(XS_OPEN_SOCKETONLY) will be usable
- * in either the parent or the child after fork, but not both.
* * xs_daemon_open*() and xs_domain_open() are deprecated synonyms
* for xs_open(0).
* * XS_OPEN_READONLY has no bearing on any of this.
else
xsh = get_handle(xs_daemon_socket());
- if (!xsh && !(flags & XS_OPEN_SOCKETONLY))
+ if (!xsh)
xsh = get_handle(xs_domain_dev());
if (xsh && (flags & XS_UNWATCH_FILTER))