qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Daniel Henrique Barboza
Subject: Re: [Qemu-devel] [PATCH] vfio-pci: enable by default
Date: Sun, 10 Mar 2019 07:33:49 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0

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 <address@hidden>


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 <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
  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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]