keyval: introduce keyval_parse_into
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Nov 2020 12:36:48 +0000 (07:36 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Jul 2021 06:33:51 +0000 (08:33 +0200)
commitc445909e1f3d5722ed26f067bbffed71cbefd711
tree795d9b87ac6e8c57642ae9ccf640087d2a29ed19
parent9176e800dbcb2636a2f24411eafc3c800e3455bd
keyval: introduce keyval_parse_into

Allow parsing multiple keyval sequences into the same dictionary.
This will be used to simplify the parsing of the -M command line
option, which is currently a .merge_lists = true QemuOpts group.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qemu/option.h
util/keyval.c