Message ID | 1441254496-16174-15-git-send-email-david@gibson.dropbear.id.au |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDL6B3NWWEKRBJM3T6XQKGQEB63BXVY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id D4E6E23002 for <linaro@patches.linaro.org>; Thu, 3 Sep 2015 04:33:42 +0000 (UTC) Received: by lbbti1 with SMTP id ti1sf10373980lbb.3 for <linaro@patches.linaro.org>; Wed, 02 Sep 2015 21:33:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=c4ymRWKQLiovdHA0UO1pPnB8yIJk8GBuY8OvbiJCkQY=; b=lZ6C13aUAEZOb4W+M+9ovmhBQG0YH1VC99jNj2IH9wSL1dJCSn9H693kwuQiNc3v2q Vi5GFiLKKealC4zrC4pxLc84Nt/PneKwY9pT8crCNONRieu9plzmsHsrPmSxK1Vje2Kq 1Em54Wvy4tXQ/292Xd8oR2O0f1kMbufQRhDtF9uy1ShSZLbPPgpbEgjqmc1r+U45Zvp9 PhJrcVHAJEHJr63sTol4kc1wQklT3Ig1mjAiDgdihlQHQpH9xxWoJmeq66WWwlOfuEb7 bvKx+UF1GVT76sL54juezvtDSBq9niMQ3WgSCjo80+FWWXUWN6witOtbIBTvdvREs943 Evgg== X-Gm-Message-State: ALoCoQmZAxjJyBk82vVsqArQnlX2b+YkhRbaXGPQpblHCGg9w/wecUSIOr4UIj1J4RXF59XAJEP8 X-Received: by 10.180.83.101 with SMTP id p5mr1997352wiy.2.1441254821471; Wed, 02 Sep 2015 21:33:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.20.168 with SMTP id o8ls130121lae.47.gmail; Wed, 02 Sep 2015 21:33:41 -0700 (PDT) X-Received: by 10.112.198.202 with SMTP id je10mr7528434lbc.86.1441254821288; Wed, 02 Sep 2015 21:33:41 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id c1si21948647laa.72.2015.09.02.21.33.41 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2015 21:33:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by lanb10 with SMTP id b10so20348774lan.3 for <patchwork-forward@linaro.org>; Wed, 02 Sep 2015 21:33:41 -0700 (PDT) X-Received: by 10.152.28.193 with SMTP id d1mr19527469lah.72.1441254821026; Wed, 02 Sep 2015 21:33:41 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.164.42 with SMTP id yn10csp1009362lbb; Wed, 2 Sep 2015 21:33:40 -0700 (PDT) X-Received: by 10.140.133.145 with SMTP id 139mr66187956qhf.97.1441254820248; Wed, 02 Sep 2015 21:33:40 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id g74si5932573qgd.95.2015.09.02.21.33.39 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 02 Sep 2015 21:33:40 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:44319 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1ZXMDS-0003tm-7C for patch@linaro.org; Thu, 03 Sep 2015 00:33:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <dgibson@ozlabs.org>) id 1ZXM88-0003V6-Hl for qemu-devel@nongnu.org; Thu, 03 Sep 2015 00:28:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <dgibson@ozlabs.org>) id 1ZXM86-0002ZW-9f for qemu-devel@nongnu.org; Thu, 03 Sep 2015 00:28:08 -0400 Received: from ozlabs.org ([2401:3900:2:1::2]:35873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dgibson@ozlabs.org>) id 1ZXM85-0002YQ-Tr; Thu, 03 Sep 2015 00:28:06 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 430181402BD; Thu, 3 Sep 2015 14:28:00 +1000 (AEST) From: David Gibson <david@gibson.dropbear.id.au> To: peter.maydell@linaro.org Date: Thu, 3 Sep 2015 14:28:05 +1000 Message-Id: <1441254496-16174-15-git-send-email-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1441254496-16174-1-git-send-email-david@gibson.dropbear.id.au> References: <1441254496-16174-1-git-send-email-david@gibson.dropbear.id.au> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2401:3900:2:1::2 Cc: Andrew Jones <drjones@redhat.com>, mdroth@linux.vnet.ibm.com, aik@ozlabs.ru, qemu-devel@nongnu.org, agraf@suse.de, qemu-ppc@nongnu.org, David Gibson <david@gibson.dropbear.id.au> Subject: [Qemu-devel] [PATCH 14/25] spapr: add dumpdtb support X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: david@gibson.dropbear.id.au X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index de63d06..0c18f15 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -30,6 +30,7 @@ #include "hw/fw-path-provider.h" #include "elf.h" #include "net/net.h" +#include "sysemu/device_tree.h" #include "sysemu/block-backend.h" #include "sysemu/cpus.h" #include "sysemu/kvm.h" @@ -962,6 +963,7 @@ static void spapr_finalize_fdt(sPAPRMachineState *spapr, exit(1); } + qemu_fdt_dumpdtb(fdt, fdt_totalsize(fdt)); cpu_physical_memory_write(fdt_addr, fdt, fdt_totalsize(fdt)); g_free(bootlist);