Skip to content

Commit fc80842

Browse files
eugpermarmstsirkin
authored andcommitted
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>
1 parent 3c7df2e commit fc80842

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/vdpa/vdpa_user/vduse_dev.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ static struct workqueue_struct *vduse_irq_bound_wq;
144144
static u32 allowed_device_id[] = {
145145
VIRTIO_ID_BLOCK,
146146
VIRTIO_ID_NET,
147+
VIRTIO_ID_FS,
147148
};
148149

149150
static inline struct vduse_dev *vdpa_to_vduse(struct vdpa_device *vdpa)

0 commit comments

Comments
 (0)