From patchwork Fri Dec 18 15:41:40 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Liguori X-Patchwork-Id: 41414 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 340A6B6F17 for ; Sat, 19 Dec 2009 02:50:58 +1100 (EST) Received: from localhost ([127.0.0.1]:56148 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLf6V-00063V-B8 for incoming@patchwork.ozlabs.org; Fri, 18 Dec 2009 10:50:55 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLexh-0007tS-SH for qemu-devel@nongnu.org; Fri, 18 Dec 2009 10:41:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLexc-0007pz-RQ for qemu-devel@nongnu.org; Fri, 18 Dec 2009 10:41:49 -0500 Received: from [199.232.76.173] (port=59922 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLexc-0007pp-Id for qemu-devel@nongnu.org; Fri, 18 Dec 2009 10:41:44 -0500 Received: from qw-out-1920.google.com ([74.125.92.149]:31228) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLexc-0007hi-91 for qemu-devel@nongnu.org; Fri, 18 Dec 2009 10:41:44 -0500 Received: by qw-out-1920.google.com with SMTP id 5so534101qwc.4 for ; Fri, 18 Dec 2009 07:41:43 -0800 (PST) Received: by 10.224.102.194 with SMTP id h2mr2400295qao.96.1261150902971; Fri, 18 Dec 2009 07:41:42 -0800 (PST) Received: from squirrel.codemonkey.ws ([24.174.33.212]) by mx.google.com with ESMTPS id 22sm2265592iwn.12.2009.12.18.07.41.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 18 Dec 2009 07:41:42 -0800 (PST) Message-ID: <4B2BA2B4.3030508@codemonkey.ws> Date: Fri, 18 Dec 2009 09:41:40 -0600 From: Anthony Liguori User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: Gerd Hoffmann References: <1261134964-12427-1-git-send-email-kraxel@redhat.com> In-Reply-To: <1261134964-12427-1-git-send-email-kraxel@redhat.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: seabios@seabios.org, qemu-devel@nongnu.org Subject: [Qemu-devel] Re: [SeaBIOS] [PATCH 0/4] qemu option loading X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org I needed the following patch for this series to build: Regards, Anthony Liguori diff --git a/src/optionroms.c b/src/optionroms.c index c5de1ad..0be6852 100644 --- a/src/optionroms.c +++ b/src/optionroms.c @@ -13,6 +13,7 @@ #include "pci_regs.h" // PCI_ROM_ADDRESS #include "pci_ids.h" // PCI_CLASS_DISPLAY_VGA #include "boot.h" // IPL +#include "paravirt.h" // qemu_cfg_* /**************************************************************** diff --git a/src/paravirt.h b/src/paravirt.h index d33e10d..4cef48e 100644 --- a/src/paravirt.h +++ b/src/paravirt.h @@ -63,5 +63,6 @@ typedef struct QemuCfgFile { u16 qemu_cfg_first_file(QemuCfgFile *entry); u16 qemu_cfg_next_file(QemuCfgFile *entry); +u32 qemu_cfg_read_file(QemuCfgFile *entry, void *dst, u32 maxlen); #endif