Re: [PATCH 1/2] char: Skip CLI aliases in query-chardev-backends

2020-11-13 Thread Markus Armbruster
Kevin Wolf writes: > Am 12.11.2020 um 09:22 hat Markus Armbruster geschrieben: >> Kevin Wolf writes: >> >> > The aliases "tty" and "parport" are only valid on the command line, QMP >> > commands like chardev-add don't know them. query-chardev-backends should >> > describe QMP and therefore not

Re: [PATCH 1/2] char: Skip CLI aliases in query-chardev-backends

2020-11-12 Thread Kevin Wolf
Am 12.11.2020 um 09:22 hat Markus Armbruster geschrieben: > Kevin Wolf writes: > > > The aliases "tty" and "parport" are only valid on the command line, QMP > > commands like chardev-add don't know them. query-chardev-backends should > > describe QMP and therefore not include them in the list of

Re: [PATCH 1/2] char: Skip CLI aliases in query-chardev-backends

2020-11-12 Thread Markus Armbruster
Kevin Wolf writes: > The aliases "tty" and "parport" are only valid on the command line, QMP > commands like chardev-add don't know them. query-chardev-backends should > describe QMP and therefore not include them in the list of available > backends. > > Signed-off-by: Kevin Wolf I'd call that

[PATCH 1/2] char: Skip CLI aliases in query-chardev-backends

2020-11-11 Thread Kevin Wolf
The aliases "tty" and "parport" are only valid on the command line, QMP commands like chardev-add don't know them. query-chardev-backends should describe QMP and therefore not include them in the list of available backends. Signed-off-by: Kevin Wolf --- chardev/char.c | 21 ++---