target/arm/kvm: Have kvm_arm_pmu_set_irq take a ARMCPU argument
commit5ed84f3bf714b20001f6c5ff370d0f070f7c89cf
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 19 Dec 2023 17:57:46 +0000 (19 17:57 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 19 Dec 2023 17:57:46 +0000 (19 17:57 +0000)
tree8dfdaa5849e8f52f93bf4b97ab6de4cf3c89ef7f
parentd344f5ba87dc8a91adef4ed80e6c82674ca93e2e
target/arm/kvm: Have kvm_arm_pmu_set_irq take a ARMCPU argument

Unify the "kvm_arm.h" API: All functions related to ARM vCPUs
take a ARMCPU* argument. Use the CPU() QOM cast macro When
calling the generic vCPU API from "sysemu/kvm.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Message-id: 20231123183518.64569-10-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c
target/arm/kvm.c
target/arm/kvm_arm.h