[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 13/13] hw/arm/virt: Remove VirtMachineClass::no_highmem_ecam fiel
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 13/13] hw/arm/virt: Remove VirtMachineClass::no_highmem_ecam field |
Date: |
Wed, 15 Jan 2025 18:10:09 +0100 |
The VirtMachineClass::no_highmem_ecam field was only
used by virt-2.12 machine, which got removed. Remove it
and simplify virt_instance_init().
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
include/hw/arm/virt.h | 1 -
hw/arm/virt.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/hw/arm/virt.h b/include/hw/arm/virt.h
index b2cc012a402..9a1b0f53d21 100644
--- a/include/hw/arm/virt.h
+++ b/include/hw/arm/virt.h
@@ -119,7 +119,6 @@ struct VirtMachineClass {
MachineClass parent;
bool no_tcg_its;
bool no_highmem_compact;
- bool no_highmem_ecam;
bool no_ged; /* Machines < 4.2 have no support for ACPI GED device */
bool kvm_no_adjvtime;
bool no_kvm_steal_time;
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index a607a66a198..4de5ce3c541 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -3267,7 +3267,7 @@ static void virt_instance_init(Object *obj)
vms->highmem_compact = !vmc->no_highmem_compact;
vms->gic_version = VIRT_GIC_VERSION_NOSEL;
- vms->highmem_ecam = !vmc->no_highmem_ecam;
+ vms->highmem_ecam = true;
vms->highmem_mmio = true;
vms->highmem_redists = true;
--
2.47.1
- Re: [PATCH 05/13] hw/arm/virt: Remove VirtMachineClass::no_its field, (continued)
- [PATCH 06/13] hw/arm/virt: Remove deprecated virt-2.8 machine, Philippe Mathieu-Daudé, 2025/01/15
- [PATCH 07/13] hw/arm/virt: Remove VirtMachineClass::claim_edge_triggered_timers field, Philippe Mathieu-Daudé, 2025/01/15
- [PATCH 08/13] hw/arm/virt: Remove deprecated virt-2.9 machine, Philippe Mathieu-Daudé, 2025/01/15
- [PATCH 09/13] hw/arm/virt: Remove deprecated virt-2.10 machine, Philippe Mathieu-Daudé, 2025/01/15
- [PATCH 10/13] hw/arm/virt: Remove deprecated virt-2.11 machine, Philippe Mathieu-Daudé, 2025/01/15
- [PATCH 11/13] hw/arm/virt: Remove VirtMachineClass::smbios_old_sys_ver field, Philippe Mathieu-Daudé, 2025/01/15
- [PATCH 12/13] hw/arm/virt: Remove deprecated virt-2.12 machine, Philippe Mathieu-Daudé, 2025/01/15
- [PATCH 13/13] hw/arm/virt: Remove VirtMachineClass::no_highmem_ecam field,
Philippe Mathieu-Daudé <=