char: Skip CLI aliases in query-chardev-backends
commit1254bd3977b30b3af74bb1f6641fe02d0bf5caf8
authorKevin Wolf <kwolf@redhat.com>
Thu, 11 Mar 2021 16:42:51 +0000 (11 17:42 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 19 Mar 2021 09:17:14 +0000 (19 10:17 +0100)
treed12cce0f3524cca299084024a441d4730023a2b2
parentddf6dae7e34271332fbc04921d0c91ab6a009b5a
char: Skip CLI aliases in query-chardev-backends

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 <kwolf@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210311164253.338723-2-kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
chardev/char.c