Thread (32 messages) 32 messages, 3 authors, 2021-06-21

Re: [PATCH 8/9] vhost: add vhost_dev pointer to vhost_work

From: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2021-06-03 14:32:17
Also in: target-devel, virtualization

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>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help