Skip to contentSkip to conversation

s390x/config: Do not include full pci.mak

PATCH Applied Thomas Huth 2 participants 2 messages Mar 12, 2015 – Mar 13, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390x/config: Do not include full pci.mak

pci.mak includes a lot of devices - and most of them do not make sense on s390x, like USB controllers or audio cards. These devices also show up when running "qemu-system-s390x -device help" and thus could raise the hope for the users that they could use these kind of devices with qemu-system-s390x. To avoid this confusion, we should not include pci.mak and rather include the bare minimum manually instead.

---
 default-configs/s390x-softmmu.mak |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
default-configs/s390x-softmmu.mak +2 -1
index 6ee2ff8..f9e13f1 100644
@@ -1,4 +1,5 @@
-include pci.mak
+CONFIG_PCI=y
+CONFIG_VIRTIO_PCI=y
 CONFIG_VIRTIO=y
 CONFIG_SCLPCONSOLE=y
 CONFIG_S390_FLIC=y
Signature · 1 line
1.7.1
#1 lore raw
Quoted 8 lines · On Thu, 12 Mar 2015 15:19:14 +0100 Thomas Huth <[email protected]> wrote:

pci.mak includes a lot of devices - and most of them do not make sense on s390x, like USB controllers or audio cards. These devices also show up when running "qemu-system-s390x -device help" and thus could raise the hope for the users that they could use these kind of devices with qemu-system-s390x. To avoid this confusion, we should not include pci.mak and rather include the bare minimum manually instead.

Quoted 6 lines
---
 default-configs/s390x-softmmu.mak |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Applied to my s390-next branch.