Right now all e500 machines have a limit of 2 PCI devices. This is too little when one virtio device already eats up one PCI slot.
While we can't change the -M mpc8544ds target on that respect because it physically only has 2 slots, we can easily loosen that restriction for -M ppce500. So this patch set enables us to use up to 31 PCI devices (slots) on -M ppce500 while maintaining the old behavior for -M mpc8544ds Alexander Graf (5): PPC: E500: PCI: Make first slot qdev settable PPC: E500: PCI: Make IRQ calculation more generic PPC: E500: Generate dt pci irq map dynamically PPC: E500: Move PCI slot information into params PPC: E500plat: Make a lot of PCI slots available hw/ppc/e500.c | 53 ++++++++++++++++++++++++++++++++------------------- hw/ppc/e500.h | 2 + hw/ppc/e500plat.c | 3 ++ hw/ppc/mpc8544ds.c | 2 + hw/ppce500_pci.c | 22 ++++++++++---------- 5 files changed, 51 insertions(+), 31 deletions(-)