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_GENERIC_BRIDGE=y
CONFIG_VFIO_XGMAC=y
CONFIG_VFIO_AMD_XGBE=y
CONFIG_SDHCI=y
CONFIG_INTEGRATOR=y

View file

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