mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
chardev: add vc support to qapi
This patch adds 'vc' support to qapi and also switches over the vc chardev initialization to the new qapi code path. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
cd153e2aa2
commit
702ec69cc1
5 changed files with 74 additions and 16 deletions
|
@ -3737,6 +3737,9 @@ ChardevReturn *qmp_chardev_add(const char *id, ChardevBackend *backend,
|
|||
chr = qemu_chr_open_spice_port(backend->spiceport->fqdn);
|
||||
break;
|
||||
#endif
|
||||
case CHARDEV_BACKEND_KIND_VC:
|
||||
chr = vc_init(backend->vc);
|
||||
break;
|
||||
default:
|
||||
error_setg(errp, "unknown chardev backend (%d)", backend->kind);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue