]> git.baikalelectronics.ru Git - kernel.git/commit
vfio/pci: introduce CONFIG_VFIO_PCI_ZDEV_KVM
authorMatthew Rosato <mjrosato@linux.ibm.com>
Mon, 6 Jun 2022 20:33:14 +0000 (16:33 -0400)
committerChristian Borntraeger <borntraeger@linux.ibm.com>
Mon, 11 Jul 2022 07:54:25 +0000 (09:54 +0200)
commit624db69defe67f9d03398f6bf19674c0bbecd967
treebc2cabac4a980135323597da80c5855beb92a098
parent56da2849b69289e606817b8b576b2262f3b702cc
vfio/pci: introduce CONFIG_VFIO_PCI_ZDEV_KVM

The current contents of vfio-pci-zdev are today only useful in a KVM
environment; let's tie everything currently under vfio-pci-zdev to
this Kconfig statement and require KVM in this case, reducing complexity
(e.g. symbol lookups).

Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Link: https://lore.kernel.org/r/20220606203325.110625-11-mjrosato@linux.ibm.com
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
drivers/vfio/pci/Kconfig
drivers/vfio/pci/Makefile
include/linux/vfio_pci_core.h