mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-30 13:31:52 -06:00
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>
This commit is contained in:
parent
c51af4e8fb
commit
358a1bc713
2 changed files with 1 additions and 2 deletions
|
@ -3336,7 +3336,7 @@ static void virt_instance_init(Object *obj)
|
||||||
vms->highmem_compact = !vmc->no_highmem_compact;
|
vms->highmem_compact = !vmc->no_highmem_compact;
|
||||||
vms->gic_version = VIRT_GIC_VERSION_NOSEL;
|
vms->gic_version = VIRT_GIC_VERSION_NOSEL;
|
||||||
|
|
||||||
vms->highmem_ecam = !vmc->no_highmem_ecam;
|
vms->highmem_ecam = true;
|
||||||
vms->highmem_mmio = true;
|
vms->highmem_mmio = true;
|
||||||
vms->highmem_redists = true;
|
vms->highmem_redists = true;
|
||||||
|
|
||||||
|
|
|
@ -119,7 +119,6 @@ struct VirtMachineClass {
|
||||||
MachineClass parent;
|
MachineClass parent;
|
||||||
bool no_tcg_its;
|
bool no_tcg_its;
|
||||||
bool no_highmem_compact;
|
bool no_highmem_compact;
|
||||||
bool no_highmem_ecam;
|
|
||||||
bool no_ged; /* Machines < 4.2 have no support for ACPI GED device */
|
bool no_ged; /* Machines < 4.2 have no support for ACPI GED device */
|
||||||
bool kvm_no_adjvtime;
|
bool kvm_no_adjvtime;
|
||||||
bool no_kvm_steal_time;
|
bool no_kvm_steal_time;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue