vhost: dynamically allocate vhost_worker
authorMike Christie <michael.christie@oracle.com>
Mon, 26 Jun 2023 23:22:52 +0000 (18:22 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 3 Jul 2023 16:15:13 +0000 (12:15 -0400)
commitc011bb669ddc22b0374d747d90467d1b2f80bc05
treeefedbb9d1e47224be74ea877bfefda94aef1d4e8
parent3e11c6eb6ab07de36cde49594e16fed044bf276e
vhost: dynamically allocate vhost_worker

This patchset allows us to allocate multiple workers, so this has us
move from the vhost_worker that's embedded in the vhost_dev to
dynamically allocating it.

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