]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
q35: gigabyte alignment for ram
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 16 Dec 2013 09:11:28 +0000 (10:11 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 26 Jan 2014 11:11:45 +0000 (13:11 +0200)
commit9a305c8fc7bb567e9f754ddfe5fb102aaeeb770a
tree8d6bc6f98126a00404e54a432421ff1ff6382e58
parent4c8a949b2416158a311abefc09a20153aa107e93
q35: gigabyte alignment for ram

Map 2G (q35) of memory below 4G, so the RAM pieces
are nicely aligned to gigabyte borders.

Keep old memory layout for (a) old machine types and (b) in case all
memory fits below 4G and thus we don't have to split RAM into pieces
in the first place.  The later makes sure this change doesn't take
away memory from 32bit guests.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc_q35.c