[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240912141956.237734-1-jon@nutanix.com>
Date: Thu, 12 Sep 2024 07:19:55 -0700
From: Jon Kohler <jon@...anix.com>
To: Kirti Wankhede <kwankhede@...dia.com>,
Alex Williamson <alex.williamson@...hat.com>,
Jason Gunthorpe <jgg@...pe.ca>, Tony Krowiak <akrowiak@...ux.ibm.com>,
kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Jon Kohler <jon@...anix.com>, Christoph Hellwig <hch@....de>,
Jason Gunthorpe <jgg@...dia.com>, Rohit Shenoy <rshenoy@...dia.com>,
Tarun Gupta <targupta@...dia.com>
Subject: [PATCH] vfio-mdev: reinstate VFIO_MDEV Kconfig
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@...anix.com>
Cc: Alex Williamson <alex.williamson@...hat.com>
Cc: Christoph Hellwig <hch@....de>
Cc: Jason Gunthorpe <jgg@...dia.com>
Cc: Rohit Shenoy <rshenoy@...dia.com>
Cc: Tarun Gupta <targupta@...dia.com>
Cc: Tony Krowiak <akrowiak@...ux.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
Powered by blists - more mailing lists