summaryrefslogtreecommitdiffstats
path: root/hw/i386/pc_q35.c
diff options
context:
space:
mode:
authorEduardo Habkost2016-01-23 17:02:13 +0100
committerMichael S. Tsirkin2016-02-25 12:14:19 +0100
commit533e8bbb55038e224fa418b8b8e8175110ecda4f (patch)
tree426ff719c89049e91f6c34d860a56dc023cbb9ed /hw/i386/pc_q35.c
parentq35: Remove unused q35-acpi-dsdt.aml file (diff)
downloadqemu-533e8bbb55038e224fa418b8b8e8175110ecda4f.tar.gz
qemu-533e8bbb55038e224fa418b8b8e8175110ecda4f.tar.xz
qemu-533e8bbb55038e224fa418b8b8e8175110ecda4f.zip
q35: No need to check gigabyte_align
gigabyte_align is always true on q35, so we don't need the !gigabyte_align compat code anymore. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'hw/i386/pc_q35.c')
-rw-r--r--hw/i386/pc_q35.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index da28d7774b..46522c90da 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -81,11 +81,9 @@ static void pc_q35_init(MachineState *machine)
* If it doesn't, we need to split it in chunks below and above 4G.
* In any case, try to make sure that guest addresses aligned at
* 1G boundaries get mapped to host addresses aligned at 1G boundaries.
- * For old machine types, use whatever split we used historically to avoid
- * breaking migration.
*/
if (machine->ram_size >= 0xb0000000) {
- lowmem = pcmc->gigabyte_align ? 0x80000000 : 0xb0000000;
+ lowmem = 0x80000000;
} else {
lowmem = 0xb0000000;
}