qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/3] string list functions
@ 2024-02-27 15:33 Markus Armbruster
  2024-02-27 15:33 ` [PATCH v7 1/3] qapi: New QAPI_LIST_LENGTH() Markus Armbruster
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Markus Armbruster @ 2024-02-27 15:33 UTC (permalink / raw)
  To: qemu-devel
  Cc: steven.sistare, philmd, dave, jasowang, michael.roth, peterx,
	farosas

This is Steve's work (v1 to v5), tweaked by Philippe (v6), and now by
me.

v7:
* Old PATCH 1 dropped
  The proposed str_split() is a composition of g_strsplit() and a
  conversion from char ** to strList *.  I'm willing to accept a
  conversion function str_list_from_strv() next to
  strv_from_str_list().  I doubt having a function for the composition
  is worth the trouble.
* Old PATCH 4 dropped
  The tests mostly test g_strsplit().  I'm willing to accept focused
  tests for strv_from_str_list() and str_list_from_strv().
* PATCH 1-3: Commit messages tweaked
* PATCH 2: strv_from_strList() renamed strv_from_str_list(), and moved
  to qapi/qapi-type-helpers.c.  Function comment tweaked.  Local
  variable @argv renamed to @strv.
* PATCH 3: Adjust for the rename.

Steve Sistare (3):
  qapi: New QAPI_LIST_LENGTH()
  qapi: New strv_from_str_list()
  migration: simplify exec migration functions

 include/qapi/type-helpers.h |  8 ++++++
 include/qapi/util.h         | 13 +++++++++
 migration/exec.c            | 57 ++++++-------------------------------
 qapi/qapi-type-helpers.c    | 14 +++++++++
 4 files changed, 43 insertions(+), 49 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2024-03-01 11:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-27 15:33 [PATCH v7 0/3] string list functions Markus Armbruster
2024-02-27 15:33 ` [PATCH v7 1/3] qapi: New QAPI_LIST_LENGTH() Markus Armbruster
2024-02-27 16:18   ` Philippe Mathieu-Daudé
2024-02-27 15:33 ` [PATCH v7 2/3] qapi: New strv_from_str_list() Markus Armbruster
2024-02-27 16:18   ` Philippe Mathieu-Daudé
2024-02-27 15:33 ` [PATCH v7 3/3] migration: simplify exec migration functions Markus Armbruster
2024-02-27 16:21 ` [PATCH v7 0/3] string list functions Steven Sistare
2024-03-01 11:54   ` Markus Armbruster

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).