On 11/11/20 11:35, Kevin Wolf wrote:
IOW, I'd suggest we focus effort on introducing the new config file format
based on QAPI first, and once that exists, then convert these sample
config files in docs/config, and deprecate -readconfig.
Fine with me. That would make introducing the new config file format a
priority, though, even if it can't support every option yet (similar to
-readconfig). I didn't have the impression so far that we are planning
to do that. Is anyone working on it?
Indeed, my plan was to focus on QMP-based configuration, not on
configuration file formats.
However I hit the same snag, in that my patches broke -readconfig for
-object, -M and -accel. I'm thinking of decoupling config file parsing
from QemuOpts, using QDicts instead and moving the QemuOpts part into
softmmu/vl.c.
Paolo