vfio-pci: enable by default
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 8 Mar 2019 17:33:27 +0000 (18:33 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 11 Mar 2019 13:45:10 +0000 (14:45 +0100)
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>
hw/vfio/Kconfig

index ebda9fdf22c482157c8f905feb1a6335a9fd6f98..34da2a3cfdd92af806ba04b30e7a9894070d3357 100644 (file)
@@ -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