vhost: add vhost_worker pointer to vhost_virtqueue
authorMike Christie <michael.christie@oracle.com>
Mon, 26 Jun 2023 23:22:53 +0000 (18:22 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 3 Jul 2023 16:15:13 +0000 (12:15 -0400)
commit737bdb643c4f488defd6c226eb40de2c8f6e3f75
treeb7d4995211bfece84baaa8fadfe7d01f0222a26e
parentc011bb669ddc22b0374d747d90467d1b2f80bc05
vhost: add vhost_worker pointer to vhost_virtqueue

This patchset allows userspace to map vqs to different workers. This
patch adds a worker pointer to the vq so in later patches in this set
we can queue/flush specific vqs and their workers.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Message-Id: <20230626232307.97930-4-michael.christie@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c
drivers/vhost/vhost.h