# Re: \[PATCH 1/9\] vhost: move worker thread fields to new struct

- From: Stefan Hajnoczi \<stefanha@redhat.com\>
- Date: 2021-06-03 10:16:44 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2021/06/6746136
- Thread: https://ratatoskr.run/target-devel/2021/05/6745917/t.md

```text
On Tue, May 25, 2021 at 01:05:52PM -0500, Mike Christie wrote:
> This is just a prep patch. It moves the worker related fields to a new
> vhost_worker struct and moves the code around to create some helpers that
> will be used in the next patches.
> 
> Signed-off-by: Mike Christie <michael.christie@oracle.com>
> ---
>  drivers/vhost/vhost.c | 94 +++++++++++++++++++++++++++++--------------
>  drivers/vhost/vhost.h |  9 ++++-
>  2 files changed, 70 insertions(+), 33 deletions(-)

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