char: Remove qemu_chr_new_from_opts()qapi-chardevqapi-alias-chardev-v4
commit3d5791bc5242d2afddc375e3ae9a402975c38bd1
authorKevin Wolf <kwolf@redhat.com>
Tue, 17 Aug 2021 18:59:37 +0000 (17 20:59 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 17 Sep 2021 16:11:00 +0000 (17 18:11 +0200)
tree7187392c008a3b0ad5164a727f88f3e766f5349f
parentf1b9f4393341f96577d065add21b8172d4a24cc3
char: Remove qemu_chr_new_from_opts()

The function is only used by tests any more. Remove it and switch the
tests to qemu_chr_new_cli().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
chardev/char.c
include/chardev/char.h
tests/unit/test-char.c