Hi, Here comes the updated chardev hotplug patch series. Addressed most review comments. It's chardev-add and chardev-remove now. Parameters have been added to the schema. Little nits and spell fixes here and there.
Making 'backend' an enum is tricky given that the actual implementation just turns the qdict into a QemuOpts, then goes piggyback on qemu_chr_new_from_opts(). Not rebased (yet) on top of the qom queue as I expect more discussions. please review, Gerd Gerd Hoffmann (3): chardev: add error reporting for qemu_chr_new_from_opts chardev: fix QemuOpts lifecycle chardev: add hotplug support. hmp-commands.hx | 32 +++++++++++++++++++++ hmp.c | 23 +++++++++++++++ hmp.h | 2 + qapi-schema.json | 47 ++++++++++++++++++++++++++++++ qemu-char.c | 83 ++++++++++++++++++++++++++++++++++++++++++++--------- qemu-char.h | 5 ++- qmp-commands.hx | 61 +++++++++++++++++++++++++++++++++++++++ vl.c | 8 ++++- 8 files changed, 244 insertions(+), 17 deletions(-)