aboutsummaryrefslogtreecommitdiff
path: root/hw/vfio/Kconfig
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-03-08 18:33:27 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-11 14:45:10 +0100
commit97575f928fe95515a4855487b233506e75675f66 (patch)
tree1ab50dedd6d9e710aebe282e4de60e18866bf007 /hw/vfio/Kconfig
parent4f8260248c68e4599a5ce9d8d98ea9d8853f649b (diff)
vfio-pci: enable by default
CONFIG_VFIO_PCI was not "default y" - and once you do that, it is also important to disable it if PCI is not there. Reported-by: Alex Williamson <alex.williamson@redhat.com> Tested-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/vfio/Kconfig')
-rw-r--r--hw/vfio/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/vfio/Kconfig b/hw/vfio/Kconfig
index ebda9fdf22..34da2a3cfd 100644
--- a/hw/vfio/Kconfig
+++ b/hw/vfio/Kconfig
@@ -4,8 +4,9 @@ config VFIO
config VFIO_PCI
bool
+ default y
select VFIO
- depends on LINUX
+ depends on LINUX && PCI
config VFIO_CCW
bool