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/mpc8544ds.c | |
parent | 347dd79dccf41a679115213da673dfd06c4c8cc8 (diff) | |
download | hqemu-492ec48dc2d99ca13b24d554e1970af7e2581e23.zip hqemu-492ec48dc2d99ca13b24d554e1970af7e2581e23.tar.gz |
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/mpc8544ds.c')
-rw-r--r-- | hw/ppc/mpc8544ds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ppc/mpc8544ds.c b/hw/ppc/mpc8544ds.c index e651661..7e1761d 100644 --- a/hw/ppc/mpc8544ds.c +++ b/hw/ppc/mpc8544ds.c @@ -40,6 +40,8 @@ static void mpc8544ds_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 = mpc8544ds_fixup_devtree, }; |