Re: [Qemu-devel] [PATCH] vfio-pci: enable by default

2019-03-10 Thread Daniel Henrique Barboza
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. Tested-by: Daniel Henrique Barboza On 3/8/19 2:36 PM, Paolo Bonzini wrote: CONFIG_VFIO_

Re: [Qemu-devel] [PATCH] vfio-pci: enable by default

2019-03-08 Thread Alex Williamson
On Fri, 8 Mar 2019 18:36:22 +0100 Paolo Bonzini wrote: > 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 > Signed-off-by: Paolo Bonzini > --- > hw/vfio/Kconfig | 3 ++- > 1 file changed,

[Qemu-devel] [PATCH] vfio-pci: enable by default

2019-03-08 Thread Paolo Bonzini
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 Signed-off-by: Paolo Bonzini --- hw/vfio/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/vfio/Kconfig b/hw/vfio/Kconf