diff options
author | Alexander Graf <agraf@suse.de> | 2012-12-12 13:53:53 +0100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-12-14 13:12:57 +0100 |
commit | 492ec48dc2d99ca13b24d554e1970af7e2581e23 (patch) | |
tree | 340f69c98ae3c140dd64b519a9a04bb3d28c4583 /hw/ppc/e500plat.c | |
parent | 347dd79dccf41a679115213da673dfd06c4c8cc8 (diff) | |
download | qemu-492ec48dc2d99ca13b24d554e1970af7e2581e23.zip qemu-492ec48dc2d99ca13b24d554e1970af7e2581e23.tar.gz qemu-492ec48dc2d99ca13b24d554e1970af7e2581e23.tar.bz2 |
PPC: E500: Move PCI slot information into params
We have a params struct that allows us to expose differences between
e500 machine models. Include PCI slot information there, so we can have
different machines with different PCI slot topology.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc/e500plat.c')
-rw-r--r-- | hw/ppc/e500plat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ppc/e500plat.c b/hw/ppc/e500plat.c index 4cfb940..9365213 100644 --- a/hw/ppc/e500plat.c +++ b/hw/ppc/e500plat.c @@ -40,6 +40,8 @@ static void e500plat_init(QEMUMachineInitArgs *args) .kernel_cmdline = kernel_cmdline, .initrd_filename = initrd_filename, .cpu_model = cpu_model, + .pci_first_slot = 0x11, + .pci_nr_slots = 2, .fixup_devtree = e500plat_fixup_devtree, }; |