mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
hw/arm/virt: Remove VirtMachineClass::no_ged field
The VirtMachineClass::no_ged field was only used by virt-4.1 machine, which got removed. Remove it as now unused. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20251020094022.68768-3-philmd@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
committed by
Peter Maydell
parent
b7c52f28bf
commit
5eb33245f9
+1
-2
@@ -2213,7 +2213,6 @@ static void machvirt_init(MachineState *machine)
|
||||
int n, virt_max_cpus;
|
||||
bool firmware_loaded;
|
||||
bool aarch64 = true;
|
||||
bool has_ged = !vmc->no_ged;
|
||||
unsigned int smp_cpus = machine->smp.cpus;
|
||||
unsigned int max_cpus = machine->smp.max_cpus;
|
||||
|
||||
@@ -2515,7 +2514,7 @@ static void machvirt_init(MachineState *machine)
|
||||
create_pcie(vms);
|
||||
create_cxl_host_reg_region(vms);
|
||||
|
||||
if (has_ged && aarch64 && firmware_loaded && virt_is_acpi_enabled(vms)) {
|
||||
if (aarch64 && firmware_loaded && virt_is_acpi_enabled(vms)) {
|
||||
vms->acpi_dev = create_acpi_ged(vms);
|
||||
vms->generic_error_notifier.notify = virt_generic_error_req;
|
||||
notifier_list_add(&acpi_generic_error_notifiers,
|
||||
|
||||
@@ -123,7 +123,6 @@ struct VirtMachineClass {
|
||||
MachineClass parent;
|
||||
bool no_tcg_its;
|
||||
bool no_highmem_compact;
|
||||
bool no_ged; /* Machines < 4.2 have no support for ACPI GED device */
|
||||
bool kvm_no_adjvtime;
|
||||
bool no_kvm_steal_time;
|
||||
bool acpi_expose_flash;
|
||||
|
||||
Reference in New Issue
Block a user