Re: [PATCH 11/13] hmp/char: Use qemu_chr_parse_cli_str() for chardev-change

2020-11-13 Thread Dr. David Alan Gilbert
* Kevin Wolf (kw...@redhat.com) wrote: > Instead of going through the QemuOpts-based parser, go directly from the > given option string to ChardevOptions. This doesn't only avoid legacy > code, but it also simplifies the implementation. > > Signed-off-by: Kevin Wolf OK, from HMP I think Acked-b

[PATCH 11/13] hmp/char: Use qemu_chr_parse_cli_str() for chardev-change

2020-11-12 Thread Kevin Wolf
Instead of going through the QemuOpts-based parser, go directly from the given option string to ChardevOptions. This doesn't only avoid legacy code, but it also simplifies the implementation. Signed-off-by: Kevin Wolf --- monitor/hmp-cmds.c | 27 +-- 1 file changed, 9 ins