vfio/pci: Cleanup Kconfig
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 14 Jun 2023 19:39:46 +0000 (13:39 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 16 Jun 2023 18:23:42 +0000 (12:23 -0600)
commit8cc75183b78e91455a03ad3a1a68cd0612f66446
tree72d0708843f0d05fca7ad1cd30ca8d43ddbfe84b
parenta5bfe22db2a4a1ae467f31cfa1d72043eb9f1877
vfio/pci: Cleanup Kconfig

It should be possible to select vfio-pci variant drivers without building
vfio-pci itself, which implies each variant driver should select
vfio-pci-core.

Fix the top level vfio Makefile to traverse pci based on vfio-pci-core
rather than vfio-pci.

Mark MMAP and INTX options depending on vfio-pci-core to cleanup resulting
config if core is not enabled.

Push all PCI related vfio options to a sub-menu and make descriptions
consistent.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20230614193948.477036-2-alex.williamson@redhat.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/Makefile
drivers/vfio/pci/Kconfig
drivers/vfio/pci/hisilicon/Kconfig
drivers/vfio/pci/mlx5/Kconfig