]> git.proxmox.com Git - mirror_qemu.git/commit
vhost-user-test: create a main loop per TestServer
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Feb 2019 17:35:54 +0000 (18:35 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 21 Feb 2019 17:28:01 +0000 (12:28 -0500)
commit7d0ca3e747ce3b595fcae554b04fccbffd0c04f0
treeea6a22db84a0344756a824fcc91dd72fb9b448d8
parent299e6f19b3e285f3ab00b780e3b48f5e58b5d4ed
vhost-user-test: create a main loop per TestServer

This makes the tests more independent and removes the need to defer test_server_free
via an idle event source.

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