vhost-user-test: use init_virtio_dev in multiqueue test
commit459f5d29d27c26df194ccc0db7902d1e6fafd0c8
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Thu, 21 Dec 2017 21:21:25 +0000 (21 22:21 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 18 Jan 2018 19:52:38 +0000 (18 21:52 +0200)
tree8998bad5e83802fd2828820d2bfd299460be5d93
parentd3b2a5d1e4a627395cdc8f40d05b12bf8ab58817
vhost-user-test: use init_virtio_dev in multiqueue test

Now that init_virtio_dev() has been generalized to all cases,
use it in test_multiqueue() to avoid code duplication.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
tests/vhost-user-test.c