public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vfio-mdev: reinstate VFIO_MDEV Kconfig
@ 2024-09-12 14:19 Jon Kohler
  2024-09-12 14:05 ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Kohler @ 2024-09-12 14:19 UTC (permalink / raw)
  To: Kirti Wankhede, Alex Williamson, Jason Gunthorpe, Tony Krowiak,
	kvm, linux-kernel
  Cc: Jon Kohler, Christoph Hellwig, Jason Gunthorpe, Rohit Shenoy,
	Tarun Gupta

Reinstate Kconfig setup for CONFIG_VFIO_MDEV to help support out of
tree drivers that use VFIO_MDEV library (e.g. Nvidia GPU drivers).

Fixes: 8bf8c5ee1f38 ("vfio-mdev: turn VFIO_MDEV into a selectable symbol")
Signed-off-by: Jon Kohler <jon@nutanix.com>
Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Rohit Shenoy <rshenoy@nvidia.com>
Cc: Tarun Gupta <targupta@nvidia.com>
Cc: Tony Krowiak <akrowiak@linux.ibm.com>
---
 drivers/vfio/mdev/Kconfig | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/drivers/vfio/mdev/Kconfig b/drivers/vfio/mdev/Kconfig
index e5fb84e07965..b5e1eb634e62 100644
--- a/drivers/vfio/mdev/Kconfig
+++ b/drivers/vfio/mdev/Kconfig
@@ -1,4 +1,10 @@
 # SPDX-License-Identifier: GPL-2.0-only
 
 config VFIO_MDEV
-	tristate
+	tristate "Mediated device driver framework"
+	default n
+	help
+	  Provides a framework to virtualize devices.
+	  See Documentation/driver-api/vfio-mediated-device.rst for more details.
+
+	  If you don't know what do here, say N.
\ No newline at end of file
-- 
2.43.0


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

end of thread, other threads:[~2024-09-16  7:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-12 14:19 [PATCH] vfio-mdev: reinstate VFIO_MDEV Kconfig Jon Kohler
2024-09-12 14:05 ` Christoph Hellwig
2024-09-12 15:32   ` Jon Kohler
2024-09-16  7:20     ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox