vfio: express vfio dependencies with Kconfig

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2019-01-23 19:31:21 +01:00
parent ccf222a816
commit 2ac041c2c3
2 changed files with 10 additions and 5 deletions

View File

@ -123,8 +123,6 @@ CONFIG_VERSATILE_I2C=y
CONFIG_PCI_EXPRESS=y CONFIG_PCI_EXPRESS=y
CONFIG_PCI_EXPRESS_GENERIC_BRIDGE=y CONFIG_PCI_EXPRESS_GENERIC_BRIDGE=y
CONFIG_VFIO_XGMAC=y
CONFIG_VFIO_AMD_XGBE=y
CONFIG_SDHCI=y CONFIG_SDHCI=y
CONFIG_INTEGRATOR=y CONFIG_INTEGRATOR=y

View File

@ -9,21 +9,28 @@ config VFIO_PCI
config VFIO_CCW config VFIO_CCW
bool bool
default y
select VFIO select VFIO
depends on LINUX depends on LINUX && S390_CCW_VIRTIO
config VFIO_PLATFORM config VFIO_PLATFORM
bool bool
default y
select VFIO select VFIO
depends on LINUX depends on LINUX && PLATFORM_BUS
config VFIO_XGMAC config VFIO_XGMAC
bool bool
default y
depends on VFIO_PLATFORM
config VFIO_AMD_XGBE config VFIO_AMD_XGBE
bool bool
default y
depends on VFIO_PLATFORM
config VFIO_AP config VFIO_AP
bool bool
default y
select VFIO select VFIO
depends on LINUX depends on LINUX && S390_CCW_VIRTIO