diff options
| author | Marc-André Lureau | 2016-07-26 23:15:19 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-07-28 23:33:49 +0200 |
| commit | c89804d674e4e3804bd3ac1fe79650896044b4e8 (patch) | |
| tree | 49a50b551ce977c31cd81c1269ff904b51962a7a /include/exec/exec-all.h | |
| parent | char: add and use tcp_chr_wait_connected (diff) | |
| download | qemu-c89804d674e4e3804bd3ac1fe79650896044b4e8.tar.gz qemu-c89804d674e4e3804bd3ac1fe79650896044b4e8.tar.xz qemu-c89804d674e4e3804bd3ac1fe79650896044b4e8.zip | |
vhost-user: wait until backend init is completed
The chardev waits for an initial connection before starting qemu, and
vhost-user should wait for the backend negotiation to be completed
before starting qemu too.
vhost-user is started in the net_vhost_user_event callback, which is
synchronously called after the socket is connected. Use a
VhostUserState.started flag to indicate vhost-user init completed
successfully and qemu can be started.
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>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
