diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-16 15:59:36 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2025-05-06 15:01:23 +0100 |
| commit | 8d23b1df72124d82441f1ca0b484b7a4cabc542e (patch) | |
| tree | 2bc95425a6bd2de89d6d4c7ec37dd5143e2d27ef /hw/arm/virt.c | |
| parent | 390becbf7faa8e7ecb10386ec21d52e1fcb16c96 (diff) | |
| download | focaccia-qemu-8d23b1df72124d82441f1ca0b484b7a4cabc542e.tar.gz focaccia-qemu-8d23b1df72124d82441f1ca0b484b7a4cabc542e.zip | |
hw/arm/virt: Remove VirtMachineClass::no_its field
The VirtMachineClass::no_its field was only used by virt-2.7 machine, which got removed. Remove it and simplify virt_instance_init() and virt_acpi_build(). 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.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index a2a213717c..9c4efcd855 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -3347,17 +3347,13 @@ static void virt_instance_init(Object *obj) vms->highmem_mmio = true; vms->highmem_redists = true; - if (vmc->no_its) { - vms->its = false; - } else { - /* Default allows ITS instantiation */ - vms->its = true; + /* Default allows ITS instantiation */ + vms->its = true; - if (vmc->no_tcg_its) { - vms->tcg_its = false; - } else { - vms->tcg_its = true; - } + if (vmc->no_tcg_its) { + vms->tcg_its = false; + } else { + vms->tcg_its = true; } /* Default disallows iommu instantiation */ |