qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH] kconfig: Add PCIe devices to s390xx machines


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] kconfig: Add PCIe devices to s390xx machines
Date: Tue, 4 Jul 2023 14:07:13 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0

On 4/7/23 11:32, Cédric Le Goater wrote:
It is useful to extend the number of available PCI devices to KVM guests
for passthrough scenarios and also to expose these models to a different
(big endian) architecture.

Signed-off-by: Cédric Le Goater <clg@redhat.com>
---
  hw/s390x/Kconfig | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/hw/s390x/Kconfig b/hw/s390x/Kconfig
index 5e7d8a2bae8b..373f38adcd6b 100644
--- a/hw/s390x/Kconfig
+++ b/hw/s390x/Kconfig
@@ -10,3 +10,7 @@ config S390_CCW_VIRTIO
      select SCLPCONSOLE
      select VIRTIO_CCW
      select MSI_NONBROKEN
+    select PCI_EXPRESS

Can zPCI plug legacy PCI devices? I'd expect not, only PCIe
devices. Then this patch would become:

-- >8 --
@@ -5,7 +5,7 @@ config S390_CCW_VIRTIO
     imply VFIO_AP
     imply VFIO_CCW
     imply WDT_DIAG288
-    select PCI
+    select PCI_EXPRESS
     select S390_FLIC
     select SCLPCONSOLE
     select VIRTIO_CCW
---




reply via email to

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