|
|
c480ed |
From 2c4fb8fc19d1dd6ef8fafdfb1e48998020a368cd Mon Sep 17 00:00:00 2001
|
|
|
c480ed |
Message-Id: <2c4fb8fc19d1dd6ef8fafdfb1e48998020a368cd@dist-git>
|
|
|
c480ed |
From: Yi Min Zhao <zyimin@linux.ibm.com>
|
|
|
c480ed |
Date: Mon, 8 Apr 2019 10:57:20 +0200
|
|
|
c480ed |
Subject: [PATCH] qemu: Enable PCI multi bus for S390 guests
|
|
|
c480ed |
MIME-Version: 1.0
|
|
|
c480ed |
Content-Type: text/plain; charset=UTF-8
|
|
|
c480ed |
Content-Transfer-Encoding: 8bit
|
|
|
c480ed |
|
|
|
c480ed |
QEMU on s390 supports PCI multibus since forever.
|
|
|
c480ed |
|
|
|
c480ed |
Signed-off-by: Yi Min Zhao <zyimin@linux.ibm.com>
|
|
|
c480ed |
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
|
|
|
c480ed |
Reviewed-by: Stefan Zimmermann <stzi@linux.ibm.com>
|
|
|
c480ed |
Reviewed-by: Bjoern Walk <bwalk@linux.ibm.com>
|
|
|
c480ed |
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
|
c480ed |
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
|
|
|
c480ed |
|
|
|
c480ed |
(cherry picked from commit f49a5e3bf4c275ddb8a60274d6ab941b2f99f553)
|
|
|
c480ed |
|
|
|
c480ed |
https://bugzilla.redhat.com/show_bug.cgi?id=1508149
|
|
|
c480ed |
|
|
|
c480ed |
Conflicts:
|
|
|
c480ed |
|
|
|
c480ed |
* src/qemu/qemu_capabilities.c
|
|
|
c480ed |
+ context
|
|
|
c480ed |
- missing fa95035bd4c9
|
|
|
c480ed |
|
|
|
c480ed |
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
|
|
|
c480ed |
Message-Id: <20190408085732.28684-4-abologna@redhat.com>
|
|
|
c480ed |
Reviewed-by: Laine Stump <laine@redhat.com>
|
|
|
c480ed |
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
|
c480ed |
---
|
|
|
c480ed |
src/qemu/qemu_capabilities.c | 4 ++++
|
|
|
c480ed |
1 file changed, 4 insertions(+)
|
|
|
c480ed |
|
|
|
c480ed |
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
|
|
|
c480ed |
index 8ca53abf2b..5539d168cd 100644
|
|
|
c480ed |
--- a/src/qemu/qemu_capabilities.c
|
|
|
c480ed |
+++ b/src/qemu/qemu_capabilities.c
|
|
|
c480ed |
@@ -1803,6 +1803,10 @@ bool virQEMUCapsHasPCIMultiBus(virQEMUCapsPtr qemuCaps,
|
|
|
c480ed |
return false;
|
|
|
c480ed |
}
|
|
|
c480ed |
|
|
|
c480ed |
+ /* S390 supports PCI-multibus. */
|
|
|
c480ed |
+ if (ARCH_IS_S390(def->os.arch))
|
|
|
c480ed |
+ return true;
|
|
|
c480ed |
+
|
|
|
c480ed |
/* If 'virt' supports PCI, it supports multibus.
|
|
|
c480ed |
* No extra conditions here for simplicity.
|
|
|
c480ed |
*/
|
|
|
c480ed |
--
|
|
|
c480ed |
2.22.0
|
|
|
c480ed |
|