char: add chr_wait_connected callback
commit6b6723c3b508403309aa21c4fcbe515bd1edfd74
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 26 Jul 2016 21:15:17 +0000 (27 01:15 +0400)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 28 Jul 2016 21:33:48 +0000 (29 00:33 +0300)
treea808a6c17627269e2128e53757cf109675bb8273
parent8695de0fcf739b2071018d933b407ed8c16f40e8
char: add chr_wait_connected callback

A function to wait on the backend to be connected, to be used in the
following patches.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/sysemu/char.h
qemu-char.c