[PATCH V5 0/5] string list functions

Steve Sistare posted 5 patches 9 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1708638470-114846-1-git-send-email-steven.sistare@oracle.com
Maintainers: Markus Armbruster <armbru@redhat.com>, Michael Roth <michael.roth@amd.com>, Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, "Dr. David Alan Gilbert" <dave@treblig.org>, Jason Wang <jasowang@redhat.com>
There is a newer version of this series
include/monitor/hmp.h     |  1 -
include/qapi/util.h       | 13 ++++++++
include/qemu/strList.h    | 30 ++++++++++++++++++
migration/exec.c          | 57 +++++----------------------------
monitor/hmp-cmds.c        | 19 -----------
net/net-hmp-cmds.c        |  3 +-
stats/stats-hmp-cmds.c    |  3 +-
tests/unit/meson.build    |  1 +
tests/unit/test-strList.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++
util/meson.build          |  1 +
util/strList.c            | 38 ++++++++++++++++++++++
11 files changed, 175 insertions(+), 71 deletions(-)
create mode 100644 include/qemu/strList.h
create mode 100644 tests/unit/test-strList.c
create mode 100644 util/strList.c
[PATCH V5 0/5] string list functions
Posted by Steve Sistare 9 months, 1 week ago
Add some handy string list functions for general use, and use them in
live migration functions.  These will also be needed for cpr exec mode.

Changes in V5:
  * renamed some variables and one function, replaced GStrv with char **
  * aligned backslashes in QAPI_LIST_LENGTH
  * restored cutils.h to exec.c

Changes in V4:
  * added exec migration patch

Steve Sistare (5):
  util: str_split
  qapi: QAPI_LIST_LENGTH
  util: strv_from_strList
  util: strList unit tests
  migration: simplify exec migration functions

 include/monitor/hmp.h     |  1 -
 include/qapi/util.h       | 13 ++++++++
 include/qemu/strList.h    | 30 ++++++++++++++++++
 migration/exec.c          | 57 +++++----------------------------
 monitor/hmp-cmds.c        | 19 -----------
 net/net-hmp-cmds.c        |  3 +-
 stats/stats-hmp-cmds.c    |  3 +-
 tests/unit/meson.build    |  1 +
 tests/unit/test-strList.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++
 util/meson.build          |  1 +
 util/strList.c            | 38 ++++++++++++++++++++++
 11 files changed, 175 insertions(+), 71 deletions(-)
 create mode 100644 include/qemu/strList.h
 create mode 100644 tests/unit/test-strList.c
 create mode 100644 util/strList.c

-- 
1.8.3.1