virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vduse: add virtio_fs to allowed dev id
@ 2025-01-21 10:33 Eugenio Pérez
  2025-01-22 15:49 ` Stefan Hajnoczi
  2025-02-24 21:51 ` Michael S. Tsirkin
  0 siblings, 2 replies; 9+ messages in thread
From: Eugenio Pérez @ 2025-01-21 10:33 UTC (permalink / raw)
  To: mst
  Cc: virtualization, linux-kernel, Hanna Reitz, Xuan Zhuo, Jason Wang,
	German Maglione, stefanha

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>
---
 drivers/vdpa/vdpa_user/vduse_dev.c | 1 +
 1 file changed, 1 insertion(+)

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)
--
2.48.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-03-05  4:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-21 10:33 [PATCH] vduse: add virtio_fs to allowed dev id Eugenio Pérez
2025-01-22 15:49 ` Stefan Hajnoczi
2025-01-23  1:49   ` Jason Wang
2025-01-23  7:26     ` Eugenio Perez Martin
2025-01-23 20:00       ` Stefan Hajnoczi
2025-02-24 21:51 ` Michael S. Tsirkin
2025-02-25 12:17   ` Eugenio Perez Martin
2025-02-25 12:31     ` Michael S. Tsirkin
2025-03-05  4:32       ` Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).