summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugenio Pérez <eperezma@redhat.com>2025-01-21 13:33:46 +0300
committerMichael S. Tsirkin <mst@redhat.com>2025-02-25 15:10:46 +0300
commitfc80842a2799f83fd0fe73bafdaa8eaae5336ed0 (patch)
tree7093774e4cd48aff38faf8fb05796489e684e0be
parent3c7df2e27346eb40a0e86230db1ccab195c97cfe (diff)
downloadlinux-fc80842a2799f83fd0fe73bafdaa8eaae5336ed0.tar.xz
vduse: add virtio_fs to allowed dev id
A VDUSE device that implements virtiofs device works fine just by adding the device id to the whitelist. Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Message-Id: <20250121103346.1030165-1-eperezma@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
-rw-r--r--drivers/vdpa/vdpa_user/vduse_dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vdpa/vdpa_user/vduse_dev.c b/drivers/vdpa/vdpa_user/vduse_dev.c
index 7ae99691efdf..6a9a37351310 100644
--- a/drivers/vdpa/vdpa_user/vduse_dev.c
+++ b/drivers/vdpa/vdpa_user/vduse_dev.c
@@ -144,6 +144,7 @@ static struct workqueue_struct *vduse_irq_bound_wq;
static u32 allowed_device_id[] = {
VIRTIO_ID_BLOCK,
VIRTIO_ID_NET,
+ VIRTIO_ID_FS,
};
static inline struct vduse_dev *vdpa_to_vduse(struct vdpa_device *vdpa)