q35: No need to check gigabyte_align
authorEduardo Habkost <ehabkost@redhat.com>
Sat, 23 Jan 2016 16:02:13 +0000 (14:02 -0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 25 Feb 2016 11:14:19 +0000 (13:14 +0200)
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>
hw/i386/pc_q35.c

index da28d7774b1218e3a47948f1cd3057ed1f49b9e6..46522c90dae65d44070113fb330f4a6888ca0854 100644 (file)
@@ -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;
     }