# Re: \[PATCH 4/9\] vhost: allow vhost\_polls to use different vhost\_workers

- From: Stefan Hajnoczi \<stefanha@redhat.com\>
- Date: 2021-06-03 13:51:36 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2021/06/6746146
- Thread: https://ratatoskr.run/target-devel/2021/05/6745917/t.md

```text
On Tue, May 25, 2021 at 01:05:55PM -0500, Mike Christie wrote:
> This allows vhost_polls to use the worker the vq the poll is associated
> with.
> 
> This also exports a helper vhost_vq_work_queue which is used here
> internally, and will be used in the vhost-scsi patches.
> 
> Signed-off-by: Mike Christie <michael.christie@oracle.com>
> ---
>  drivers/vhost/net.c   |  6 ++++--
>  drivers/vhost/vhost.c | 19 ++++++++++++++++---
>  drivers/vhost/vhost.h |  6 +++++-
>  3 files changed, 25 insertions(+), 6 deletions(-)

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
```
