mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
hw/arm/virt: Remove VirtMachineClass::no_pmu field
The VirtMachineClass::no_pmu field was only used by virt-2.6 machine, which got removed. Remove it and simplify machvirt_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
1731ec33c3
commit
514712d527
2 changed files with 0 additions and 5 deletions
|
@ -2273,10 +2273,6 @@ static void machvirt_init(MachineState *machine)
|
|||
object_property_set_bool(cpuobj, "kvm-steal-time", false, NULL);
|
||||
}
|
||||
|
||||
if (vmc->no_pmu && object_property_find(cpuobj, "pmu")) {
|
||||
object_property_set_bool(cpuobj, "pmu", false, NULL);
|
||||
}
|
||||
|
||||
if (vmc->no_tcg_lpa2 && object_property_find(cpuobj, "lpa2")) {
|
||||
object_property_set_bool(cpuobj, "lpa2", false, NULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue