From: Eugenio Pérez Date: Tue, 21 Jan 2025 10:33:46 +0000 (+0100) Subject: vduse: add virtio_fs to allowed dev id X-Git-Tag: v6.15-rc1~68^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc80842a2799f83fd0fe73bafdaa8eaae5336ed0;p=thirdparty%2Fkernel%2Flinux.git 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 Message-Id: <20250121103346.1030165-1-eperezma@redhat.com> Signed-off-by: Michael S. Tsirkin Reviewed-by: Stefan Hajnoczi --- diff --git a/drivers/vdpa/vdpa_user/vduse_dev.c b/drivers/vdpa/vdpa_user/vduse_dev.c index 7ae99691efdf9..6a9a373513103 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)