summaryrefslogtreecommitdiff
path: root/qemu-char.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-09-29 15:33:42 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-10-19 10:06:09 +0200
commit0498790173e462ac3a7e4e0f3608704b8382dd10 (patch)
tree986421c82cbf36f12a7916fe10bf945f46e3c958 /qemu-char.c
parente47666b8d1f0a7043d53671587058b3ce539b09d (diff)
downloadqemu-0498790173e462ac3a7e4e0f3608704b8382dd10.tar.gz
qemu-0498790173e462ac3a7e4e0f3608704b8382dd10.tar.bz2
qemu-0498790173e462ac3a7e4e0f3608704b8382dd10.zip
qemu-char: convert testdev backend to data-driven creation
Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-char.c')
-rw-r--r--qemu-char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-char.c b/qemu-char.c
index f2e3a352f4..56bc7ed6d9 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -4318,7 +4318,7 @@ ChardevReturn *qmp_chardev_add(const char *id, ChardevBackend *backend,
abort();
break;
case CHARDEV_BACKEND_KIND_TESTDEV:
- chr = chr_testdev_init();
+ abort();
break;
case CHARDEV_BACKEND_KIND_STDIO:
chr = qemu_chr_open_stdio(backend->stdio);