]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc: fix bamboo >256MB RAM initialization in hw/ppc4xx_devs.c
authorAlin Tomescu <tomescu.alin@gmail.com>
Thu, 21 Feb 2013 02:36:09 +0000 (21:36 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 21 Feb 2013 09:34:19 +0000 (10:34 +0100)
commit11e5d738a4c68cd20e90477fa8b7ee873bf3e2c0
treece0ed4aadfec2a58d9099ff5074af2eebcd6e88c
parent499a6165bef56ce3f5297fa7b1abaab32858a34f
ppc: fix bamboo >256MB RAM initialization in hw/ppc4xx_devs.c

I was trying to launch a PowerPC "bamboo" machine with more than 256MB of RAM
with qemu-system-ppc -M bamboo -kernel $kernel -initrd $ramdisk -m 512, but QEMU
would just hang. However, when I used -m 256, the machine would boot.

I looked through the code in hw/ and it seems there is an error when the
RAM memory is setup (if my understanding is correct).

After patching it, the machine launched and booted successfully with 512MB of
RAM.

Signed-off-by: Alin Tomescu <tomescu.alin@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/ppc4xx_devs.c