* [Qemu-devel] [PATCH] vfio-pci: enable by default
@ 2019-03-08 17:36 Paolo Bonzini
2019-03-08 17:46 ` Alex Williamson
2019-03-10 10:33 ` Daniel Henrique Barboza
0 siblings, 2 replies; 3+ messages in thread
From: Paolo Bonzini @ 2019-03-08 17:36 UTC (permalink / raw)
To: qemu-devel; +Cc: alex.williamson
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>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
hw/vfio/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] vfio-pci: enable by default
2019-03-08 17:36 [Qemu-devel] [PATCH] vfio-pci: enable by default Paolo Bonzini
@ 2019-03-08 17:46 ` Alex Williamson
2019-03-10 10:33 ` Daniel Henrique Barboza
1 sibling, 0 replies; 3+ messages in thread
From: Alex Williamson @ 2019-03-08 17:46 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: qemu-devel
On Fri, 8 Mar 2019 18:36:22 +0100
Paolo Bonzini <pbonzini@redhat.com> 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 <alex.williamson@redhat.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> hw/vfio/Kconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Thanks Paolo! FWIW...
Tested-by: Alex Williamson <alex.williamson@redhat.com>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] vfio-pci: enable by default
2019-03-08 17:36 [Qemu-devel] [PATCH] vfio-pci: enable by default Paolo Bonzini
2019-03-08 17:46 ` Alex Williamson
@ 2019-03-10 10:33 ` Daniel Henrique Barboza
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Henrique Barboza @ 2019-03-10 10:33 UTC (permalink / raw)
To: qemu-devel
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 <danielhb413@gmail.com>
On 3/8/19 2:36 PM, 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 <alex.williamson@redhat.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> hw/vfio/Kconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-10 10:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-08 17:36 [Qemu-devel] [PATCH] vfio-pci: enable by default Paolo Bonzini
2019-03-08 17:46 ` Alex Williamson
2019-03-10 10:33 ` Daniel Henrique Barboza
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.