The patches that I posted so far tried to make QemuOpts accept only (slightly more) well-formed command lines. With this one, QemuOpts and keyval's grammars roughly meet in the middle: keyval gains the ability to parse values that have an implied key and contain commas.
Paolo Bonzini (2): keyval: accept escaped commas in implied option keyval: simplify keyval_parse_one include/qemu/help_option.h | 11 --- tests/test-keyval.c | 21 +++-- util/keyval.c | 155 +++++++++++++++++++------------------ 3 files changed, 94 insertions(+), 93 deletions(-) -- 2.26.2