Skip to content

Commit 044e4b0

Browse files
committed
vhost/test: fix up after API change
Pass a flag to request kernel thread use. Fixes: 01fcb1c ("vhost: allow device that does not depend on vhost worker") Signed-off-by: Michael S. Tsirkin <[email protected]>
1 parent 544fc7d commit 044e4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/vhost/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ static int vhost_test_open(struct inode *inode, struct file *f)
120120
vqs[VHOST_TEST_VQ] = &n->vqs[VHOST_TEST_VQ];
121121
n->vqs[VHOST_TEST_VQ].handle_kick = handle_vq_kick;
122122
vhost_dev_init(dev, vqs, VHOST_TEST_VQ_MAX, UIO_MAXIOV,
123-
VHOST_TEST_PKT_WEIGHT, VHOST_TEST_WEIGHT, NULL);
123+
VHOST_TEST_PKT_WEIGHT, VHOST_TEST_WEIGHT, true, NULL);
124124

125125
f->private_data = n;
126126

0 commit comments

Comments
 (0)