Paolo Bonzini <pbonz...@redhat.com> writes: > On 26/10/20 11:10, Markus Armbruster wrote: >> Kevin's "[PATCH v2 0/6] qemu-storage-daemon: QAPIfy --chardev" >> involves surgery to the QAPI generator. Some (most?) of it should go >> away if we deprecate the "data" wrappers due to simple unions in QMP. >> >> Do we really need to mess with the code generator to solve the problem >> at hand? >> >> >> Let's recapitulate the problem: >> >> * We want to QAPIfy --chardev, i.e. define its argument as a QAPI >> type. > > Considering that this is not 5.2 stuff at this point, I would like to > suggest again moving chardevs to -object, and ask you to evaluate that > option with the agreement that I do the work instead of you. :)
Replacing -chardev with -object without regressing features would be lovely. One feature in particular: introspection. If we manage to fully QAPIfy -object, we should be good. I understand Eduardo is cutting a path through the jungle. I can offer assistance with bridging QAPI schema to QOM.