vhost/test: fix build for vhost test
authorTiwei Bie <tiwei.bie@intel.com>
Wed, 28 Aug 2019 05:36:59 +0000 (13:36 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 4 Sep 2019 10:21:17 +0000 (06:21 -0400)
commit93d2c4de8d8129b97ee1e1a222aedb0719d2fcd9
treec0d85c6e1b609d003295639b9a96e598da5dae82
parent089cf7f6ecb266b6a4164919a2e69bd2f938374a
vhost/test: fix build for vhost test

Since below commit, callers need to specify the iov_limit in
vhost_dev_init() explicitly.

Fixes: b46a0bf78ad7 ("vhost: fix OOB in get_rx_bufs()")
Cc: stable@vger.kernel.org
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vhost/test.c