On Tue, May 25, 2021 at 01:05:59PM -0500, Mike Christie wrote:
The next patch allows a vhost_worker to handle different devices. To
prepare for that, this patch adds a pointer to the device on the work so
we can get to the different mms in the vhost_worker thread.
Signed-off-by: Mike Christie <michael.christie@oracle.com>
---
drivers/vhost/scsi.c | 7 ++++---
drivers/vhost/vhost.c | 24 ++++++++++++++----------
drivers/vhost/vhost.h | 4 +++-
drivers/vhost/vsock.c | 3 ++-
4 files changed, 23 insertions(+), 15 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>