aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-07-27 01:15:19 +0400
committerMichael S. Tsirkin <mst@redhat.com>2016-07-29 00:33:49 +0300
commitc89804d674e4e3804bd3ac1fe79650896044b4e8 (patch)
tree49a50b551ce977c31cd81c1269ff904b51962a7a /tests
parentd7a04fd7d500870ad70f15089c6590e4bea73e70 (diff)
downloadqemu-c89804d674e4e3804bd3ac1fe79650896044b4e8.zip
qemu-c89804d674e4e3804bd3ac1fe79650896044b4e8.tar.gz
qemu-c89804d674e4e3804bd3ac1fe79650896044b4e8.tar.bz2
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 'tests')
0 files changed, 0 insertions, 0 deletions