diff options
Diffstat (limited to 'qemu-char.c')
-rw-r--r-- | qemu-char.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-char.c b/qemu-char.c index f13374770a..2d62ee9e26 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -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; |