qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 0/4] string list functions
@ 2023-06-20 17:10 Steve Sistare
  2023-06-20 17:10 ` [PATCH V3 1/4] util: strList_from_string Steve Sistare
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Steve Sistare @ 2023-06-20 17:10 UTC (permalink / raw)
  To: qemu-devel; +Cc: Marc-André Lureau, Markus Armbruster, Steve Sistare

Add some handy string list functions, for general use now, and for
eventual use in the cpr/live update patches.

Steve Sistare (4):
  util: strList_from_string
  qapi: QAPI_LIST_LENGTH
  util: strv_from_strList
  util: strList unit tests

 include/monitor/hmp.h     |  1 -
 include/qapi/util.h       | 13 ++++++++
 include/qemu/strList.h    | 30 ++++++++++++++++++
 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 ++++++++++++++++++++++
 10 files changed, 167 insertions(+), 22 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] 5+ messages in thread

end of thread, other threads:[~2023-06-20 17:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-20 17:10 [PATCH V3 0/4] string list functions Steve Sistare
2023-06-20 17:10 ` [PATCH V3 1/4] util: strList_from_string Steve Sistare
2023-06-20 17:10 ` [PATCH V3 2/4] qapi: QAPI_LIST_LENGTH Steve Sistare
2023-06-20 17:10 ` [PATCH V3 3/4] util: strv_from_strList Steve Sistare
2023-06-20 17:10 ` [PATCH V3 4/4] util: strList unit tests 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).