mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
qemu-char: convert testdev backend to data-driven creation
Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
e47666b8d1
commit
0498790173
5 changed files with 6 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue