Re: [PATCH v4 1/3] qemu-config: parse configuration files to a QDict

2021-06-09 Thread Philippe Mathieu-Daudé
Hi Paolo, On 5/24/21 12:57 PM, Paolo Bonzini wrote: > Change the parser to put the values into a QDict and pass them > to a callback. qemu_config_parse's QemuOpts creation is > itself turned into a callback function. > > This is useful for -readconfig to support keyval-based options; > getting a

[PATCH v4 1/3] qemu-config: parse configuration files to a QDict

2021-05-24 Thread Paolo Bonzini
Change the parser to put the values into a QDict and pass them to a callback. qemu_config_parse's QemuOpts creation is itself turned into a callback function. This is useful for -readconfig to support keyval-based options; getting a QDict from the parser removes a roundtrip from QDict to QemuOpts