]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
vduse: add virtio_fs to allowed dev id
authorEugenio Pérez <eperezma@redhat.com>
Tue, 21 Jan 2025 10:33:46 +0000 (11:33 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 25 Feb 2025 12:10:46 +0000 (07:10 -0500)
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>
drivers/vdpa/vdpa_user/vduse_dev.c

index 7ae99691efdf9250a2d812e8a7984dcad0ffc7aa..6a9a3735131036e826b3db4faf9e77bd3219b8d6 100644 (file)
@@ -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)