From: Philippe Mathieu-Daudé Date: Mon, 20 Oct 2025 09:40:21 +0000 (+0200) Subject: hw/arm/virt: Remove VirtMachineClass::kvm_no_adjvtime field X-Git-Tag: v10.2.0-rc1~28^2~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=725770c2cbaef07cb3cf558f02ac502503f07a49;p=thirdparty%2Fqemu.git hw/arm/virt: Remove VirtMachineClass::kvm_no_adjvtime field The VirtMachineClass::kvm_no_adjvtime field was only used by the virt-4.2 machine, which got removed. Remove it as now unused, but keep the ARMCPU homonym property. Signed-off-by: Philippe Mathieu-Daudé Message-id: 20251020094022.68768-5-philmd@linaro.org Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 751e22e6f4..25fb2bab56 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -2365,11 +2365,6 @@ static void machvirt_init(MachineState *machine) object_property_set_bool(cpuobj, "has_el2", false, NULL); } - if (vmc->kvm_no_adjvtime && - object_property_find(cpuobj, "kvm-no-adjvtime")) { - object_property_set_bool(cpuobj, "kvm-no-adjvtime", true, NULL); - } - if (vmc->no_kvm_steal_time && object_property_find(cpuobj, "kvm-steal-time")) { object_property_set_bool(cpuobj, "kvm-steal-time", false, NULL); diff --git a/include/hw/arm/virt.h b/include/hw/arm/virt.h index 993872bb68..c77a33f6df 100644 --- a/include/hw/arm/virt.h +++ b/include/hw/arm/virt.h @@ -123,7 +123,6 @@ struct VirtMachineClass { MachineClass parent; bool no_tcg_its; bool no_highmem_compact; - bool kvm_no_adjvtime; bool no_kvm_steal_time; bool acpi_expose_flash; bool no_secure_gpio;