Re: [Qemu-devel] [PATCH v2 2/6] spapr: move lookup of the node into spapr_memory_plug()

2018-06-08 Thread Greg Kurz
On Fri, 8 Jun 2018 14:48:12 +0200 David Hildenbrand wrote: > Let's clean the hotplug handler up by moving lookup of the node into > the function where it is actually being used. > > Signed-off-by: David Hildenbrand > --- Reviewed-by: Greg Kurz > hw/ppc/spapr.c | 12 +--- > 1 file

[Qemu-devel] [PATCH v2 2/6] spapr: move lookup of the node into spapr_memory_plug()

2018-06-08 Thread David Hildenbrand
Let's clean the hotplug handler up by moving lookup of the node into the function where it is actually being used. Signed-off-by: David Hildenbrand --- hw/ppc/spapr.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index