[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v3 21/21] q35: No need to check gigabyte_align
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PULL v3 21/21] q35: No need to check gigabyte_align |
Date: |
Thu, 25 Feb 2016 13:21:38 +0200 |
From: Eduardo Habkost <address@hidden>
gigabyte_align is always true on q35, so we don't need the
!gigabyte_align compat code anymore.
Signed-off-by: Eduardo Habkost <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
---
hw/i386/pc_q35.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index da28d77..46522c9 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;
}
--
MST
- [Qemu-devel] [PULL v3 08/21] block-migration: acquire AioContext as necessary, (continued)
- [Qemu-devel] [PULL v3 08/21] block-migration: acquire AioContext as necessary, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 12/21] virtio-blk: fix "disabled data plane" mode, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 14/21] virtio-scsi: do not use vring in dataplane, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 13/21] virtio-blk: do not use vring in dataplane, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 15/21] vring: remove, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 16/21] tests/vhost-user-bridge: fix build on 32 bit systems, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 17/21] q35: Remove old machine versions, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 18/21] machine: Remove no_tco field, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 19/21] ich9: Remove enable_tco arguments from init functions, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 20/21] q35: Remove unused q35-acpi-dsdt.aml file, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 21/21] q35: No need to check gigabyte_align,
Michael S. Tsirkin <=
- Re: [Qemu-devel] [PULL v3 00/21] vhost, virtio, pci, pc, Peter Maydell, 2016/02/25