]> xenbits.xensource.com Git - qemu-xen.git/commit
hmp: Rewrite strlist_from_comma_list() as hmp_split_at_comma()
authorMarkus Armbruster <armbru@redhat.com>
Tue, 24 Jan 2023 12:19:28 +0000 (13:19 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 4 Feb 2023 06:56:54 +0000 (07:56 +0100)
commit0d79271b5702d27736fd081d8994e857ae8b5db5
tree1a2a88757cb5b271d032f9fd170c32d7c8a72958
parent52cafcea43db82a52596d37b347b84e3c9ac8452
hmp: Rewrite strlist_from_comma_list() as hmp_split_at_comma()

Use g_strsplit() for the actual splitting.  Give external linkage, so
the next commit can move one of its users to another source file.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230124121946.1139465-15-armbru@redhat.com>
include/monitor/hmp.h
monitor/hmp-cmds.c