qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] keyval: accept escaped commas in implied option
@ 2020-11-11 10:45 Paolo Bonzini
  2020-11-11 10:45 ` [PATCH 1/2] " Paolo Bonzini
  2020-11-11 10:45 ` [PATCH 2/2] keyval: simplify keyval_parse_one Paolo Bonzini
  0 siblings, 2 replies; 10+ messages in thread
From: Paolo Bonzini @ 2020-11-11 10:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: armbru

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



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

end of thread, other threads:[~2020-11-27 15:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-11 10:45 [PATCH 0/2] keyval: accept escaped commas in implied option Paolo Bonzini
2020-11-11 10:45 ` [PATCH 1/2] " Paolo Bonzini
2020-11-11 10:53   ` Daniel P. Berrangé
2020-11-11 11:05     ` Paolo Bonzini
2020-11-11 11:14     ` Mark Cave-Ayland
2020-11-27  8:38   ` Markus Armbruster
2020-11-27  9:15     ` Paolo Bonzini
2020-11-27 14:39       ` Markus Armbruster
2020-11-27 15:39         ` Paolo Bonzini
2020-11-11 10:45 ` [PATCH 2/2] keyval: simplify keyval_parse_one Paolo Bonzini

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