aboutsummaryrefslogtreecommitdiff
path: root/hw/vfio
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-01-23 19:31:21 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-07 21:45:53 +0100
commit2ac041c2c3d89691cda1657981c41fe4bc20244b (patch)
tree431966dd0e9e6107d9f1f030e4e5880aa9fe9c3a /hw/vfio
parentccf222a816d59af1318a7efb59c6b9c5578d1abf (diff)
vfio: express vfio dependencies with Kconfig
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/vfio')
-rw-r--r--hw/vfio/Kconfig13
1 files changed, 10 insertions, 3 deletions
diff --git a/hw/vfio/Kconfig b/hw/vfio/Kconfig
index 0fdff10c13..ebda9fdf22 100644
--- a/hw/vfio/Kconfig
+++ b/hw/vfio/Kconfig
@@ -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