[PATCH v3 00/16] tools/xenstore: more cleanups

Juergen Gross posted 16 patches 11 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
.gitignore                                |   1 -
MAINTAINERS                               |   1 +
tools/include/xen-tools/xenstore-common.h | 128 +++++
tools/include/xenstore.h                  |   3 +
tools/include/xenstore_lib.h              |   3 -
tools/libs/store/Makefile                 |   4 -
tools/libs/store/xs.c                     | 131 +++--
tools/xenstore/COPYING                    | 514 -----------------
tools/xenstore/Makefile                   |   7 +-
tools/xenstore/Makefile.common            |  12 +-
tools/xenstore/TODO                       |  10 -
tools/xenstore/hashtable.c                |  98 ++--
tools/xenstore/hashtable.h                |  22 +-
tools/xenstore/list.h                     | 227 --------
tools/xenstore/xenstore_client.c          | 133 ++++-
tools/xenstore/xenstored_control.c        | 661 +---------------------
tools/xenstore/xenstored_control.h        |   8 -
tools/xenstore/xenstored_core.c           |  72 +--
tools/xenstore/xenstored_core.h           |   7 +-
tools/xenstore/xenstored_domain.c         | 458 ++++++++-------
tools/xenstore/xenstored_domain.h         |  24 +-
tools/xenstore/xenstored_lu.c             | 400 +++++++++++++
tools/xenstore/xenstored_lu.h             |  81 +++
tools/xenstore/xenstored_lu_daemon.c      | 133 +++++
tools/xenstore/xenstored_lu_minios.c      | 121 ++++
tools/xenstore/xenstored_transaction.c    |   4 +-
tools/xenstore/xenstored_watch.c          |   5 -
tools/xenstore/xs_lib.c                   | 292 ----------
tools/xenstore/xs_lib.h                   |  50 --
tools/xenstore/xs_tdb_dump.c              |  86 ---
30 files changed, 1409 insertions(+), 2287 deletions(-)
create mode 100644 tools/include/xen-tools/xenstore-common.h
delete mode 100644 tools/xenstore/COPYING
delete mode 100644 tools/xenstore/TODO
create mode 100644 tools/xenstore/xenstored_lu.c
create mode 100644 tools/xenstore/xenstored_lu.h
create mode 100644 tools/xenstore/xenstored_lu_daemon.c
create mode 100644 tools/xenstore/xenstored_lu_minios.c
delete mode 100644 tools/xenstore/xs_lib.c
delete mode 100644 tools/xenstore/xs_lib.h
delete mode 100644 tools/xenstore/xs_tdb_dump.c
[PATCH v3 00/16] tools/xenstore: more cleanups
Posted by Juergen Gross 11 months ago
Some more cleanups of Xenstore.

Based on top of the previous Xenstore series "tools/xenstore: rework
internal accounting".

Changes in V2:
- rebase
- one small modification of patch 10
- added patches 11-13

Changes in V3:
- rebase
- modified patch 4
- added patches 10, 11 and 13

Juergen Gross (16):
  tools/xenstore: verify command line parameters better
  tools/xenstore: do some cleanup of hashtable.c
  tools/xenstore: modify interface of create_hashtable()
  tools/xenstore: rename hashtable_insert() and let it return 0 on
    success
  tools/xenstore: make some write limit functions static
  tools/xenstore: switch write limiting to use millisecond time base
  tools/xenstore: remove stale TODO file
  tools/xenstore: remove unused events list
  tools/xenstore: remove support of file backed data base
  tools/libs/store: use xen_list.h instead of xenstore/list.h
  tools/libs/store: make libxenstore independent of utils.h
  tools/xenstore: remove no longer needed functions from xs_lib.c
  tools/xenstore: replace xs_lib.c with a header
  tools/xenstore: split out environment specific live update code
  tools/xenstore: split out rest of live update control code
  tools/xenstore: remove unused stuff from list.h

 .gitignore                                |   1 -
 MAINTAINERS                               |   1 +
 tools/include/xen-tools/xenstore-common.h | 128 +++++
 tools/include/xenstore.h                  |   3 +
 tools/include/xenstore_lib.h              |   3 -
 tools/libs/store/Makefile                 |   4 -
 tools/libs/store/xs.c                     | 131 +++--
 tools/xenstore/COPYING                    | 514 -----------------
 tools/xenstore/Makefile                   |   7 +-
 tools/xenstore/Makefile.common            |  12 +-
 tools/xenstore/TODO                       |  10 -
 tools/xenstore/hashtable.c                |  98 ++--
 tools/xenstore/hashtable.h                |  22 +-
 tools/xenstore/list.h                     | 227 --------
 tools/xenstore/xenstore_client.c          | 133 ++++-
 tools/xenstore/xenstored_control.c        | 661 +---------------------
 tools/xenstore/xenstored_control.h        |   8 -
 tools/xenstore/xenstored_core.c           |  72 +--
 tools/xenstore/xenstored_core.h           |   7 +-
 tools/xenstore/xenstored_domain.c         | 458 ++++++++-------
 tools/xenstore/xenstored_domain.h         |  24 +-
 tools/xenstore/xenstored_lu.c             | 400 +++++++++++++
 tools/xenstore/xenstored_lu.h             |  81 +++
 tools/xenstore/xenstored_lu_daemon.c      | 133 +++++
 tools/xenstore/xenstored_lu_minios.c      | 121 ++++
 tools/xenstore/xenstored_transaction.c    |   4 +-
 tools/xenstore/xenstored_watch.c          |   5 -
 tools/xenstore/xs_lib.c                   | 292 ----------
 tools/xenstore/xs_lib.h                   |  50 --
 tools/xenstore/xs_tdb_dump.c              |  86 ---
 30 files changed, 1409 insertions(+), 2287 deletions(-)
 create mode 100644 tools/include/xen-tools/xenstore-common.h
 delete mode 100644 tools/xenstore/COPYING
 delete mode 100644 tools/xenstore/TODO
 create mode 100644 tools/xenstore/xenstored_lu.c
 create mode 100644 tools/xenstore/xenstored_lu.h
 create mode 100644 tools/xenstore/xenstored_lu_daemon.c
 create mode 100644 tools/xenstore/xenstored_lu_minios.c
 delete mode 100644 tools/xenstore/xs_lib.c
 delete mode 100644 tools/xenstore/xs_lib.h
 delete mode 100644 tools/xenstore/xs_tdb_dump.c

-- 
2.35.3
Re: [PATCH v3 00/16] tools/xenstore: more cleanups
Posted by Julien Grall 10 months, 2 weeks ago
Hi Juergen,

On 30/05/2023 09:54, Juergen Gross wrote:
> Some more cleanups of Xenstore.
> 
> Based on top of the previous Xenstore series "tools/xenstore: rework
> internal accounting".
> 
> Changes in V2:
> - rebase
> - one small modification of patch 10
> - added patches 11-13
> 
> Changes in V3:
> - rebase
> - modified patch 4
> - added patches 10, 11 and 13
> 
> Juergen Gross (16):
>    tools/xenstore: verify command line parameters better
>    tools/xenstore: do some cleanup of hashtable.c
>    tools/xenstore: modify interface of create_hashtable()
>    tools/xenstore: rename hashtable_insert() and let it return 0 on
>      success
>    tools/xenstore: make some write limit functions static
>    tools/xenstore: switch write limiting to use millisecond time base
>    tools/xenstore: remove stale TODO file
>    tools/xenstore: remove unused events list
>    tools/xenstore: remove support of file backed data base

I have committed up to here. I still need to review the rest.

Cheers,

-- 
Julien Grall