On Tue, 22 Jan 2019 13:51:31 +0100 David Hildenbrand <da...@redhat.com> wrote:
> Hotplugging of PCI bridges is right now pretty much broken. Coldplugging > and hotplugging will assign wrong primary bus numbers in some scenarios. > > I base my knowledge on how this is supposed to work on > http://www.science.unitn.it/~fiorella/guidelinux/tlk/node76.html > > I did a couple of tests, building whole hierarchies of bridges, both > hot and coldplugged. "info pci" as well as the Linux guests showed > what I was expecting. > > David Hildenbrand (2): > s390x/pci: Fix primary bus number for PCI bridges > s390x/pci: Fix hotplugging of PCI bridges > > hw/s390x/s390-pci-bus.c | 41 +++++++++++++++++++++++++++-------------- > 1 file changed, 27 insertions(+), 14 deletions(-) > So, if I understand the discussion correctly: - Patch 1 is fine, just needs a description tweak. - Patch 2 fixes a crash, and certainly makes things better. However, current handling seems to be at least a bit odd, if not broken; something to be looked into later. I'd like to queue these, can I get an ack/feedback from IBM?