* [PATCH] vfio/mdev: make VFIO_MDEV user-visible in Kconfig
@ 2026-03-05 23:35 JP Kobryn (Meta)
2026-03-09 15:33 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: JP Kobryn (Meta) @ 2026-03-05 23:35 UTC (permalink / raw)
To: jp.kobryn, kwankhede, alex; +Cc: kvm, linux-kernel, malmond, kernel-team
From: JP Kobryn <jp.kobryn@linux.dev>
VFIO_MDEV is currently hidden and only enabled via select by in-tree
consumers. Out-of-tree drivers such as the NVIDIA vGPU rely on the mdev
framework but have no way to trigger its selection.
Add a description and help text to make VFIO_MDEV visible and directly
selectable.
Suggested-by: Matthew Almond <malmond@meta.com>
Signed-off-by: JP Kobryn <jp.kobryn@linux.dev>
---
drivers/vfio/mdev/Kconfig | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/vfio/mdev/Kconfig b/drivers/vfio/mdev/Kconfig
index e5fb84e07965..642d46b7aa4b 100644
--- a/drivers/vfio/mdev/Kconfig
+++ b/drivers/vfio/mdev/Kconfig
@@ -1,4 +1,8 @@
# SPDX-License-Identifier: GPL-2.0-only
config VFIO_MDEV
- tristate
+ tristate "Mediated device driver framework"
+ help
+ Provides the mediated device (mdev) framework, which allows
+ physical devices to create virtual instances for use with
+ VFIO-based passthrough.
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] vfio/mdev: make VFIO_MDEV user-visible in Kconfig
2026-03-05 23:35 [PATCH] vfio/mdev: make VFIO_MDEV user-visible in Kconfig JP Kobryn (Meta)
@ 2026-03-09 15:33 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2026-03-09 15:33 UTC (permalink / raw)
To: JP Kobryn (Meta); +Cc: kwankhede, alex, kvm, linux-kernel, malmond, kernel-team
On Thu, Mar 05, 2026 at 03:35:26PM -0800, JP Kobryn (Meta) wrote:
> From: JP Kobryn <jp.kobryn@linux.dev>
>
> VFIO_MDEV is currently hidden and only enabled via select by in-tree
> consumers. Out-of-tree drivers such as the NVIDIA vGPU rely on the mdev
> framework but have no way to trigger its selection.
>
> Add a description and help text to make VFIO_MDEV visible and directly
> selectable.
Just as last time: no. out of tree drivers don't matter to the kernel,
and add totally pointless user visible options for them is of course
a no-go.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-09 15:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-05 23:35 [PATCH] vfio/mdev: make VFIO_MDEV user-visible in Kconfig JP Kobryn (Meta)
2026-03-09 15:33 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox