mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 05:50:53 +07:00
vhost/test: fix up after API change
Pass a flag to request kernel thread use.
Fixes: 01fcb1cbc8
("vhost: allow device that does not depend on vhost worker")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
544fc7dbbf
commit
044e4b0922
@ -120,7 +120,7 @@ static int vhost_test_open(struct inode *inode, struct file *f)
|
||||
vqs[VHOST_TEST_VQ] = &n->vqs[VHOST_TEST_VQ];
|
||||
n->vqs[VHOST_TEST_VQ].handle_kick = handle_vq_kick;
|
||||
vhost_dev_init(dev, vqs, VHOST_TEST_VQ_MAX, UIO_MAXIOV,
|
||||
VHOST_TEST_PKT_WEIGHT, VHOST_TEST_WEIGHT, NULL);
|
||||
VHOST_TEST_PKT_WEIGHT, VHOST_TEST_WEIGHT, true, NULL);
|
||||
|
||||
f->private_data = n;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user