Received: from eggs.gnu.org ([2001:4830:134:3::10]:47276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bx92c-0008As-2B for qemu-devel@nongnu.org; Thu, 20 Oct 2016 04:49:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bx92Z-0005ym-Gg for qemu-devel@nongnu.org; Thu, 20 Oct 2016 04:49:34 -0400 References: <1476940330-27705-1-git-send-email-david@gibson.dropbear.id.au> <1476940330-27705-13-git-send-email-david@gibson.dropbear.id.au> From: Thomas Huth Message-ID: <15dc4906-fd4b-ec5f-1c06-b0dc06474939@redhat.com> Date: Thu, 20 Oct 2016 10:49:26 +0200 MIME-Version: 1.0 In-Reply-To: <1476940330-27705-13-git-send-email-david@gibson.dropbear.id.au> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 12/13] spapr: Consolidate construction of /vdevice device tree node List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson , aik@ozlabs.ru, mdroth@linux.vnet.ibm.com, groug@kaod.org Cc: agraf@suse.de, lvivier@redhat.com, qemu-ppc@nongnu.org, qemu-devel@nongnu.org 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 > --- > 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