Re: [PATCH 15/25] vl: plumb keyval-based options into -set and -readconfig

2021-01-25 Thread Paolo Bonzini
On 25/01/21 12:48, Markus Armbruster wrote: Paolo Bonzini writes: Add generic machinery to support parsing command line options with keyval in -set and -readconfig, choosing between QDict and QemuOpts as the underlying data structure. The keyval_merge function is slightly heavyweight as a way

Re: [PATCH 15/25] vl: plumb keyval-based options into -set and -readconfig

2021-01-25 Thread Markus Armbruster
Paolo Bonzini writes: > Add generic machinery to support parsing command line options with > keyval in -set and -readconfig, choosing between QDict and > QemuOpts as the underlying data structure. > > The keyval_merge function is slightly heavyweight as a way to > do qemu_set_option for QDict-bas

[PATCH 15/25] vl: plumb keyval-based options into -set and -readconfig

2021-01-18 Thread Paolo Bonzini
Add generic machinery to support parsing command line options with keyval in -set and -readconfig, choosing between QDict and QemuOpts as the underlying data structure. The keyval_merge function is slightly heavyweight as a way to do qemu_set_option for QDict-based options, but it will be put to f