vhost/test: fix up after API change
Subsystems (5)
Michael S. Tsirkin
maintainerPATCH 1/1 vhost/test: fix up after API change
Pass a flag to request kernel thread use.
--- drivers/vhost/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/vhost/test.c +1 -1
@@ -122,7 +122,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 +64 , -VHOST_TEST_PKT_WEIGHT ,VHOST_TEST_WEIGHT ,NULL ); +VHOST_TEST_PKT_WEIGHT ,VHOST_TEST_WEIGHT , true,NULL ); f->private_data = n;
Signature · 1 line
MST
Quoted 13 lines · Michael S. Tsirkin
Pass a flag to request kernel thread use.
Fixes 01fcb1cbc88e ("vhost: allow device that does not depend on vhost worker")Signed-off-by Michael S. Tsirkin <[email protected]>--- drivers/vhost/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/vhost/test.c +0
-0
drivers/vhost/test.c static int vhost_test_open(struct inode *inode, struct file *f) · line 128
Quoted 8 lines
drivers/vhost/test.c +1
-1@@ -122,7 +122,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 +64 , -VHOST_TEST_PKT_WEIGHT ,VHOST_TEST_WEIGHT ,NULL ); +VHOST_TEST_PKT_WEIGHT ,VHOST_TEST_WEIGHT , true,NULL ); f->private_data = n;
Just to confirm, have you queued the doorbell mapping patches already? Or you expect I squash this into v2 of doorbell mapping series?
Thanks
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Quoted 26 lines · Jason Wang
Quoted 13 lines · Michael S. Tsirkin
Pass a flag to request kernel thread use.
Fixes 01fcb1cbc88e ("vhost: allow device that does not depend on vhost worker")Signed-off-by Michael S. Tsirkin <[email protected]>---
drivers/vhost/test.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/vhost/test.c +0
-0drivers/vhost/test.c static int vhost_test_open(struct inode *inode, · line 127
Quoted 7 lines
drivers/vhost/test.c +1
-1@@ -122,7 +122,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 + 64, - VHOST_TEST_PKT_WEIGHT, VHOST_TEST_WEIGHT, NULL); + VHOST_TEST_PKT_WEIGHT, VHOST_TEST_WEIGHT, true, NULL); f->private_data = n;Acked-by Jason Wang <[email protected]>
Quoted 1 line
Just to confirm, have you queued the doorbell mapping patches already? Or you expect I squash this into v2 of doorbell mapping series?
Ok, I saw the patches in your linux-next branch.
Thanks
Quoted 3 lines
Thanks