vhost-user-test: wrap server in TestServer struct
commitae31fb5491493c82fface26f7902da7130b70575
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 9 Oct 2015 15:17:37 +0000 (9 17:17 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 22 Oct 2015 11:34:49 +0000 (22 14:34 +0300)
tree338a54230a8acd7ee1158fcd3d87924f99fc1876
parent82755ff202e96ad9bc74c1268481f96e50907ae1
vhost-user-test: wrap server in TestServer struct

In the coming patches, a test will use several servers
simultaneously. Wrap the server in a struct, out of the global scope.

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>
Tested-by: Thibaut Collet <thibaut.collet@6wind.com>
tests/vhost-user-test.c