From patchwork Thu Aug 11 02:36:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gibson X-Patchwork-Id: 109486 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 979BCB6F90 for ; Thu, 11 Aug 2011 12:37:00 +1000 (EST) Received: from localhost ([::1]:33126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrL8i-0004Fn-3U for incoming@patchwork.ozlabs.org; Wed, 10 Aug 2011 22:36:56 -0400 Received: from eggs.gnu.org ([140.186.70.92]:50133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrL8a-0004Fe-Am for qemu-devel@nongnu.org; Wed, 10 Aug 2011 22:36:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrL8W-0000Wj-Aj for qemu-devel@nongnu.org; Wed, 10 Aug 2011 22:36:48 -0400 Received: from ozlabs.org ([203.10.76.45]:59113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrL8V-0000W3-Me for qemu-devel@nongnu.org; Wed, 10 Aug 2011 22:36:44 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id C77E2B7010; Thu, 11 Aug 2011 12:36:40 +1000 (EST) From: David Gibson To: agraf@suse.de Date: Thu, 11 Aug 2011 12:36:27 +1000 Message-Id: <1313030188-19347-2-git-send-email-david@gibson.dropbear.id.au> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1313030188-19347-1-git-send-email-david@gibson.dropbear.id.au> References: <1313030188-19347-1-git-send-email-david@gibson.dropbear.id.au> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 203.10.76.45 Cc: qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH 1/2] pseries: use macro for firmware filename X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Nishanth Aravamudan For some time we've had a nicely defined macro with the filename for our firmware image. However we didn't actually use it in the place we're supposed to. This patch fixes it. Signed-off-by: Nishanth Aravamudan Signed-off-by: David Gibson --- hw/spapr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/spapr.c b/hw/spapr.c index 7030c17..3f4433c 100644 --- a/hw/spapr.c +++ b/hw/spapr.c @@ -435,7 +435,7 @@ static void ppc_spapr_init(ram_addr_t ram_size, "%ldM guest RAM\n", MIN_RAM_SLOF); exit(1); } - filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, "slof.bin"); + filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, FW_FILE_NAME); fw_size = load_image_targphys(filename, 0, FW_MAX_SIZE); if (fw_size < 0) { hw_error("qemu: could not load LPAR rtas '%s'\n", filename);