hw/arm/virt: Add linux,pci-domain property
commit6d9c1b8dbb3527258bbc473aa3a9b02c6a86c506
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 4 May 2018 17:05:50 +0000 (4 18:05 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 4 May 2018 17:05:50 +0000 (4 18:05 +0100)
tree2180af3f169f2af474c7cda1572901d1b2e3c6e5
parentc8b7e627b4269a3bc3ae41d9f420547a47e6d9b9
hw/arm/virt: Add linux,pci-domain property

This allows to pin the host controller in the Linux PCI domain space.
Linux requires that property to be available consistently or not at all,
in which case the domain number becomes unstable on additions/removals.
Adding it here won't make a difference in practice for most setups as we
only expose one controller.

However, enabling Jailhouse on top may introduce another controller, and
that one would like to have stable address as well. So the property is
needed for the first controller as well.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Message-id: 3301c5bc-7b47-1b0e-8ce4-30435057a276@web.de
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c