[PATCH v2 00/19] tools/xenstore: do some cleanup and fixes

Juergen Gross posted 19 patches 1 year, 11 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
docs/misc/xenstore.txt                 |  10 +-
tools/xenstore/hashtable.c             | 134 +++---
tools/xenstore/hashtable.h             |  38 +-
tools/xenstore/talloc.c                |  21 +-
tools/xenstore/xenstored_control.c     |  36 +-
tools/xenstore/xenstored_core.c        | 259 +++++++----
tools/xenstore/xenstored_core.h        |  31 ++
tools/xenstore/xenstored_domain.c      | 609 +++++++++++++------------
tools/xenstore/xenstored_domain.h      |  21 +-
tools/xenstore/xenstored_transaction.c |  76 +--
tools/xenstore/xenstored_transaction.h |   7 +-
tools/xenstore/xenstored_watch.c       |  44 +-
12 files changed, 707 insertions(+), 579 deletions(-)
[PATCH v2 00/19] tools/xenstore: do some cleanup and fixes
Posted by Juergen Gross 1 year, 11 months ago
This is a first run of post-XSA patches which piled up during the
development phase of all the recent Xenstore related XSA patches.

At least the first 5 patches are completely independent from each
other. After those the dependencies are starting to be more complex.

This is a mixture of small fixes, enhancements and cleanups.

Changes in V2:
- patches 1+2 of V1 have been applied already
- addressed comments
- new patch 19

Juergen Gross (19):
  tools/xenstore: let talloc_free() preserve errno
  tools/xenstore: let tdb_logger() preserve errno
  tools/xenstore: preserve errno across corrupt()
  tools/xenstore: remove all watches when a domain has stopped
  tools/xenstore: enhance hashtable implementation
  tools/xenstore: add hashlist for finding struct domain by domid
  tools/xenstore: introduce dummy nodes for special watch paths
  tools/xenstore: replace watch->relative_path with a prefix length
  tools/xenstore: move changed domain handling
  tools/xenstore: change per-domain node accounting interface
  tools/xenstore: don't allow creating too many nodes in a transaction
  tools/xenstore: replace literal domid 0 with dom0_domid
  tools/xenstore: make domain_is_unprivileged() an inline function
  tools/xenstore: let chk_domain_generation() return a bool
  tools/xenstore: switch hashtable to use the talloc framework
  tools/xenstore: make log macro globally available
  tools/xenstore: introduce trace classes
  tools/xenstore: let check_store() check the accounting data
  tools/xenstore: make output of "xenstore-control help" more pretty

 docs/misc/xenstore.txt                 |  10 +-
 tools/xenstore/hashtable.c             | 134 +++---
 tools/xenstore/hashtable.h             |  38 +-
 tools/xenstore/talloc.c                |  21 +-
 tools/xenstore/xenstored_control.c     |  36 +-
 tools/xenstore/xenstored_core.c        | 259 +++++++----
 tools/xenstore/xenstored_core.h        |  31 ++
 tools/xenstore/xenstored_domain.c      | 609 +++++++++++++------------
 tools/xenstore/xenstored_domain.h      |  21 +-
 tools/xenstore/xenstored_transaction.c |  76 +--
 tools/xenstore/xenstored_transaction.h |   7 +-
 tools/xenstore/xenstored_watch.c       |  44 +-
 12 files changed, 707 insertions(+), 579 deletions(-)

-- 
2.35.3
Re: [PATCH v2 00/19] tools/xenstore: do some cleanup and fixes
Posted by Jan Beulich 1 year, 11 months ago
On 13.12.2022 17:00, Juergen Gross wrote:
> This is a first run of post-XSA patches which piled up during the
> development phase of all the recent Xenstore related XSA patches.
> 
> At least the first 5 patches are completely independent from each
> other. After those the dependencies are starting to be more complex.

I've applied the three ones of these which were fully ready.

Jan