Skip to content

tools/xenstore: remove read-only socket

Juergen Gross xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tools/xenstore: remove socket-only option from xenstore clientdocs/man/xenstore-chmod.1.pod docs/man/xenstore-ls.1.pod docs/man/xenstore-read.1.pod +2 more+2 -220 replies
2/5tools/libs/store: ignore XS_OPEN_SOCKETONLY flagtools/libs/store/include/xenstore.h tools/libs/store/xs.c+1 -30 replies
3/5tools/libs/store: drop read-only functionalitytools/libs/store/include/xenstore.h tools/libs/store/xs.c+2 -135 replies
4/5tools: drop all deprecated usages of xs_*_open() and friends in toolstools/console/client/main.c tools/console/daemon/utils.c tools/libs/light/libxl.c +9 more+27 -310 replies
5/5tools/xenstore: drop creation of read-only socket in xenstoredtools/xenstore/xenstored_core.c tools/xenstore/xenstored_core.h tools/xenstore/xenstored_domain.c +1 more+14 -560 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] tools/xenstore: remove read-only socket

The read-only socket of Xenstore is usable for the daemon case only and even there it is not really worth to be kept, as not all Xesntore operations changing the state of Xenstore are blocked, oxenstored ignoring the read-only semantics completely, and the privileges for using the ro-socket being the same as for the normal rw-socket.

So remove this feature with switching the related use cases to the Xenstore-type agnostic open- and close-functions..

Juergen Gross (5):
tools/xenstore: remove socket-only option from xenstore client tools/libs/store: ignore XS_OPEN_SOCKETONLY flag tools/libs/store: drop read-only functionality
tools: drop all deprecated usages of xs_*_open() and friends in tools tools/xenstore: drop creation of read-only socket in xenstored

 docs/man/xenstore-chmod.1.pod           |  4 --
 docs/man/xenstore-ls.1.pod              |  4 --
 docs/man/xenstore-read.1.pod            |  4 --
 docs/man/xenstore-write.1.pod           |  4 --
 tools/console/client/main.c             |  2 +-
 tools/console/daemon/utils.c            |  4 +-
 tools/libs/light/libxl.c                |  6 +--
 tools/libs/light/libxl_exec.c           |  6 +--
 tools/libs/light/libxl_fork.c           |  2 +-
 tools/libs/stat/xenstat.c               |  4 +-
 tools/libs/store/include/xenstore.h     | 10 -----
 tools/libs/store/xs.c                   |  9 ++--
 tools/libs/vchan/init.c                 | 10 ++---
 tools/misc/xen-lowmemd.c                |  4 +-
 tools/python/xen/lowlevel/xs/xs.c       |  6 +--
 tools/tests/mce-test/tools/xen-mceinj.c |  4 +-
 tools/xenbackendd/xenbackendd.c         |  4 +-
 tools/xenpmd/xenpmd.c                   |  6 +--
 tools/xenstore/xenstore_client.c        |  8 +---
 tools/xenstore/xenstored_core.c         | 55 +++++--------------------
 tools/xenstore/xenstored_core.h         |  3 --
 tools/xenstore/xenstored_domain.c       |  4 +-
 tools/xenstore/xs_lib.c                 |  8 +---
 23 files changed, 46 insertions(+), 125 deletions(-)
Signature · 1 line
2.26.2