From patchwork Wed Jun 22 17:15:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 9193379 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 78880601C0 for ; Wed, 22 Jun 2016 17:18:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6564628415 for ; Wed, 22 Jun 2016 17:18:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A0D428418; Wed, 22 Jun 2016 17:18:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4F37A28416 for ; Wed, 22 Jun 2016 17:18:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFllS-0004lQ-Rh; Wed, 22 Jun 2016 17:16:34 +0000 Received: from mail6.bemta6.messagelabs.com ([85.158.143.247]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFllR-0004kv-GI for xen-devel@lists.xen.org; Wed, 22 Jun 2016 17:16:33 +0000 Received: from [85.158.143.35] by server-2.bemta-6.messagelabs.com id 04/1B-11548-0F7CA675; Wed, 22 Jun 2016 17:16:32 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFIsWRWlGSWpSXmKPExsXitHRDpO6H41n hBjefK1ss+biYxYHR4+ju30wBjFGsmXlJ+RUJrBnHfu9kLNjKVfFgx3qmBsZzHF2MnBwSAv4S Zx7NZAKx2QQMJFZMv8oIYosIyEqs7prD3sXIwcEsUC5x9JguSFhYwF3iyf0esHIWAVWJ84d72 EFsXgFbiYmb77NCjJSTaDh/nxnE5hSwk1j2qocNxBYCqrm9YAEjhK0mcWPhMhaIXkGJkzOfgN nMAhISB1+8YAZZKyHALfG3234CI98sJFWzkFQtYGRaxahenFpUllqka6SXVJSZnlGSm5iZo2t oYKaXm1pcnJiempOYVKyXnJ+7iREYTgxAsINx2V+nQ4ySHExKoryM27LChfiS8lMqMxKLM+KL SnNSiw8xynBwKEnwXjgGlBMsSk1PrUjLzAEGNkxagoNHSYT3PEiat7ggMbc4Mx0idYpRl2Pd3 BtrmYRY8vLzUqXEeV+DFAmAFGWU5sGNgEXZJUZZKWFeRqCjhHgKUotyM0tQ5V8xinMwKgnz3g CZwpOZVwK36RXQEUxARyzrTwc5oiQRISXVwOi3ZGnNj8k3n32bkzZ9gdKU3xWTTz0+E1+pl7T 6SobD0ygfrrl9es9cvz9aURuafJIves5XNU/Nd621O7a7Rz9m1XVQN/ueyDDpr6JsgJWjrKX1 9YJzy0NZD5xq9C2XWJw4wTRBL5ozp7h0fnnmbrua/xWy86VYtjS8WC16kUm2kM3OREU2TomlO CPRUIu5qDgRABAZ+86tAgAA X-Env-Sender: prvs=9742ee4c2=anthony.perard@citrix.com X-Msg-Ref: server-16.tower-21.messagelabs.com!1466615790!15873969!2 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 8.46; banners=-,-,- X-VirusChecked: Checked Received: (qmail 13108 invoked from network); 22 Jun 2016 17:16:32 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-16.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 22 Jun 2016 17:16:32 -0000 X-IronPort-AV: E=Sophos;i="5.26,509,1459814400"; d="scan'208";a="362146203" From: Anthony PERARD To: Date: Wed, 22 Jun 2016 18:15:34 +0100 Message-ID: <20160622171545.5304-4-anthony.perard@citrix.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160622171545.5304-1-anthony.perard@citrix.com> References: <20160622171545.5304-1-anthony.perard@citrix.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: Anthony PERARD , Wei Liu , Ian Jackson Subject: [Xen-devel] [PATCH v5 03/14] configure: #define SEABIOS_PATH and OVMF_PATH X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Those paths are to be used by libxl, in order to load the firmware in memory. If a system path is not defined via --with-system-seabios or --with-system-ovmf, then default to the Xen firmware directory. Signed-off-by: Anthony PERARD Reviewed-by: Konrad Rzeszutek Wilk Acked-by: Wei Liu --- Please, run ./autogen.sh on this patch. Change in V5: - rename seabios.bin to bios.bin. --- tools/configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/configure.ac b/tools/configure.ac index 8704927..4f75fae 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -220,6 +220,9 @@ AC_ARG_WITH([system-seabios], esac ],[]) AC_SUBST(seabios_path) +AC_DEFINE_UNQUOTED([SEABIOS_PATH], + ["${seabios_path:-$XENFIRMWAREDIR/bios.bin}"], + [SeaBIOS path]) AC_ARG_WITH([system-ovmf], AS_HELP_STRING([--with-system-ovmf@<:@=PATH@:>@], @@ -231,6 +234,9 @@ AC_ARG_WITH([system-ovmf], esac ],[]) AC_SUBST(ovmf_path) +AC_DEFINE_UNQUOTED([OVMF_PATH], + ["${ovmf_path:-$XENFIRMWAREDIR/ovmf.bin}"], + [OVMF path]) AC_ARG_WITH([extra-qemuu-configure-args], AS_HELP_STRING([--with-extra-qemuu-configure-args@<:@="--ARG1 ..."@:>@],