qemu-char: cleanup after completed conversion to cd->create
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Oct 2015 07:51:41 +0000 (09:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 19 Oct 2015 08:13:07 +0000 (10:13 +0200)
commit1c3af0f4f04bd6e6729783a48bb51ca1eb5c3baf
treeac0b727ed40500cd4a22e4f51ef439564f289cb8
parent479f09a130f774b0275134b5c44081ea71fe00b3
qemu-char: cleanup after completed conversion to cd->create

All backends now return errors through Error*, so the "Failed to
create chardev" placeholder error can only be reached if the backend
is not available (and only from the chardev-add QMP command; instead,
the -chardev command line option fails earlier).

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qemu-char.c