vfio-pci: enable by default
PATCH 1/1 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 <[email protected]>
Signed-off-by Paolo Bonzini <[email protected]>
--- hw/vfio/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
hw/vfio/Kconfig +2 -1
@@ -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
Signature · 1 line
2.20.1
Quoted 8 lines · On Fri, 8 Mar 2019 18:36:22 +0100 Paolo Bonzini <[email protected]> wrote:
CONFIG_VFIO_PCIwas not "default y" - and once you do that, it is also important to disable it if PCI is not there.Reported-by Alex Williamson <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>--- hw/vfio/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Thanks Paolo! FWIW...
Tested-by Alex Williamson <[email protected]>
Quoted 15 lines
hw/vfio/Kconfig +2
-1@@ -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
Just faced this problem when trying to test vfio-pci using upstream:
qemu-system-ppc64: -device vfio-pci,host=0035:03:00.0,id=hostdev8: 'vfio-pci' is not a valid device model name
This patch fixed it.
Quoted 24 lines · Paolo Bonzini
CONFIG_VFIO_PCIwas not "default y" - and once you do that, it is also important to disable it if PCI is not there.Reported-by Alex Williamson <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>--- hw/vfio/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)hw/vfio/Kconfig +2
-1@@ -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