vhost: Add worker backend callouts
authorMike Christie <michael.christie@oracle.com>
Mon, 4 Dec 2023 23:16:17 +0000 (17:16 -0600)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 25 Dec 2023 16:34:55 +0000 (11:34 -0500)
commit9aad781959d770eb2479596a23e471cd82bd4e5b
tree69e7a710920742359ba0510a16bae3b63d9bf5ea
parentc40db4ba60af354cccaddbbae5c7125b4b97c79c
vhost: Add worker backend callouts

This adds the vhost backend callouts for the worker ioctls added in the
6.4 linux kernel commit:

c1ecd8e95007 ("vhost: allow userspace to create workers")

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20231204231618.21962-2-michael.christie@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-backend.c
include/hw/virtio/vhost-backend.h