]> git.proxmox.com Git - mirror_qemu.git/commit
vhost-user-test: signal data_cond when s->rings changes
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Dec 2018 15:32:20 +0000 (16:32 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Feb 2019 15:48:40 +0000 (16:48 +0100)
commitacca950ccded44277037ac765cf6d5003a3d43eb
treed538246028b1679ea17f3dde04e24eec0557959f
parent04ad1bf68e22dd5de8249ffd4c4e5886d50f3f95
vhost-user-test: signal data_cond when s->rings changes

This speeds up wait_for_rings_started, which currently is just waiting for
the timeout before checking s->rings.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1543851204-41186-8-git-send-email-pbonzini@redhat.com>
tests/vhost-user-test.c