]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ppc/spapr: Remove SpaprMachineClass::phb_placement callback
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 21 Oct 2025 08:43:43 +0000 (10:43 +0200)
committerHarsh Prateek Bora <harshpb@linux.ibm.com>
Thu, 23 Oct 2025 12:07:33 +0000 (17:37 +0530)
commitcc62474851cf45017e7be13315a7f2c4723be33f
treeea7030d9a19bca8af659dba83d6435b84f56aa9f
parent07718fe66060111821ffd38f1eaffcaec307db79
hw/ppc/spapr: Remove SpaprMachineClass::phb_placement callback

The SpaprMachineClass::phb_placement callback was only used by
the pseries-4.0 machine, which got removed. Remove it as now
unused, directly calling spapr_phb_placement().
Move spapr_phb_placement() definition to avoid forward declaration.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Chinmay Rath <rathc@linux.ibm.com>
Link: https://lore.kernel.org/qemu-devel/20251021084346.73671-10-philmd@linaro.org
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
hw/ppc/spapr.c
include/hw/ppc/spapr.h