summary refs log tree commit diff stats
path: root/hw/arm/virt.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-16 15:59:44 +0100
committerPeter Maydell <peter.maydell@linaro.org>2025-05-06 15:01:23 +0100
commit358a1bc71359f03bfb64154ed3238f7c571e7872 (patch)
tree26941cf0fae837b18148cd6690a2b915e41ce279 /hw/arm/virt.c
parentc51af4e8fb024e98a794e3fc919117d0538b02c9 (diff)
downloadfocaccia-qemu-358a1bc71359f03bfb64154ed3238f7c571e7872.tar.gz
focaccia-qemu-358a1bc71359f03bfb64154ed3238f7c571e7872.zip
hw/arm/virt: Remove VirtMachineClass::no_highmem_ecam field
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>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/virt.c')
-rw-r--r--hw/arm/virt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index d047983c80..bd1a68673a 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -3336,7 +3336,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;