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