aboutsummaryrefslogtreecommitdiff
path: root/hw/remote
diff options
context:
space:
mode:
authorJagannathan Raman <jag.raman@oracle.com>2021-01-29 11:46:06 -0500
committerStefan Hajnoczi <stefanha@redhat.com>2021-02-10 09:23:22 +0000
commit6fbd84d63299b86e2a60ee7f257838d411112b87 (patch)
tree9a9ba2fe24aeed5160a44cace3c148c238e565dd /hw/remote
parent3090de695b606f0ee09d04a6d7e0b31cfb9c34d7 (diff)
multi-process: setup PCI host bridge for remote device
PCI host bridge is setup for the remote device process. It is implemented using remote-pcihost object. It is an extension of the PCI host bridge setup by QEMU. Remote-pcihost configures a PCI bus which could be used by the remote PCI device to latch on to. Signed-off-by: Jagannathan Raman <jag.raman@oracle.com> Signed-off-by: John G Johnson <john.g.johnson@oracle.com> Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 0871ba857abb2eafacde07e7fe66a3f12415bfb2.1611938319.git.jag.raman@oracle.com [Added PCI_EXPRESS condition in hw/remote/Kconfig since remote-pcihost needs PCIe. This solves "make check" failure on s390x. Fix suggested by Philippe Mathieu-Daudé <philmd@redhat.com> and Thomas Huth <thuth@redhat.com>. --Stefan] Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/remote')
-rw-r--r--hw/remote/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/remote/Kconfig b/hw/remote/Kconfig
index 54844467a0..08c16e235f 100644
--- a/hw/remote/Kconfig
+++ b/hw/remote/Kconfig
@@ -1,3 +1,4 @@
config MULTIPROCESS
bool
- depends on PCI && KVM
+ depends on PCI && PCI_EXPRESS && KVM
+ select REMOTE_PCIHOST