qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V5 0/5] string list functions
@ 2024-02-22 21:47 Steve Sistare
  2024-02-22 21:47 ` [PATCH V5 1/5] util: str_split Steve Sistare
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Steve Sistare @ 2024-02-22 21:47 UTC (permalink / raw)
  To: qemu-devel
  Cc: Markus Armbruster, Michael Roth, Peter Xu, Fabiano Rosas,
	Marc-André Lureau, Steve Sistare

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



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-02-26 12:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-22 21:47 [PATCH V5 0/5] string list functions Steve Sistare
2024-02-22 21:47 ` [PATCH V5 1/5] util: str_split Steve Sistare
2024-02-23  5:51   ` Philippe Mathieu-Daudé
2024-02-23  6:01   ` Philippe Mathieu-Daudé
2024-02-23 14:01     ` Steven Sistare
2024-02-23 17:41       ` Philippe Mathieu-Daudé
2024-02-23 18:04         ` Steven Sistare
2024-02-26 12:21   ` Philippe Mathieu-Daudé
2024-02-22 21:47 ` [PATCH V5 2/5] qapi: QAPI_LIST_LENGTH Steve Sistare
2024-02-22 21:47 ` [PATCH V5 3/5] util: strv_from_strList Steve Sistare
2024-02-22 21:47 ` [PATCH V5 4/5] util: strList unit tests Steve Sistare
2024-02-22 21:47 ` [PATCH V5 5/5] migration: simplify exec migration functions Steve Sistare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).