virtio-console: notify chardev when writable
commit246ca55faff625f4c15e21f3424781e215a254ea
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Tue, 5 May 2015 14:58:55 +0000 (5 16:58 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 29 May 2015 07:56:01 +0000 (29 09:56 +0200)
treed4001ed60c086da18757a51616ba35a84d2fa9aa
parentce0274f730eacbd24c706523ddbbabb6b95d0659
virtio-console: notify chardev when writable

When the virtio serial is writable, notify the chardev backend
with qemu_chr_accept_input().

Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/char/virtio-console.c