On 20.10.2016 07:12, David Gibson wrote: > Construction of the /vdevice node (and its children) is divided between > spapr_create_fdt_skel() (at init time), which creates the base node, and > spapr_populate_vdevice() (at reset time) which creates the nodes for each > individual virtual device. > > This consolidates both into a single function called from > spapr_build_fdt(). > > Signed-off-by: David Gibson <da...@gibson.dropbear.id.au> > --- > hw/ppc/spapr.c | 19 ++----------------- > hw/ppc/spapr_vio.c | 23 ++++++++++++++++------- > include/hw/ppc/spapr_vio.h | 2 +- > 3 files changed, 19 insertions(+), 25 deletions(-)
Reviewed-by: Thomas Huth <th...@redhat.com>