From patchwork Fri Sep 11 12:50:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor CLEMENT X-Patchwork-Id: 516789 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 14522140323 for ; Fri, 11 Sep 2015 22:51:55 +1000 (AEST) Received: from localhost ([::1]:56140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaNo1-0003gg-0q for incoming@patchwork.ozlabs.org; Fri, 11 Sep 2015 08:51:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaNnM-0002UU-Sb for qemu-devel@nongnu.org; Fri, 11 Sep 2015 08:51:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaNnJ-00066F-ME for qemu-devel@nongnu.org; Fri, 11 Sep 2015 08:51:12 -0400 Received: from mx1.openwide.fr ([213.162.52.98]:47204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaNnJ-00065u-Fi for qemu-devel@nongnu.org; Fri, 11 Sep 2015 08:51:09 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra2.corp.accelance.fr (Postfix) with ESMTP id D6234C1468710; Fri, 11 Sep 2015 14:51:07 +0200 (CEST) Received: from mx1.openwide.fr ([127.0.0.1]) by localhost (zimbra2.corp.accelance.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id YQ5dB5Xd5m8F; Fri, 11 Sep 2015 14:51:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra2.corp.accelance.fr (Postfix) with ESMTP id EDDB7C1407FB6; Fri, 11 Sep 2015 14:51:04 +0200 (CEST) X-Virus-Scanned: amavisd-new at accelance.fr Received: from mx1.openwide.fr ([127.0.0.1]) by localhost (zimbra2.corp.accelance.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Hj5ESILKA5_g; Fri, 11 Sep 2015 14:51:04 +0200 (CEST) Received: from vicx-dell.daviel.openwide.fr. (bob75-2-81-56-46-209.fbx.proxad.net [81.56.46.209]) by zimbra2.corp.accelance.fr (Postfix) with ESMTPSA id 747BFC0650DB9; Fri, 11 Sep 2015 14:51:04 +0200 (CEST) From: Victor CLEMENT To: qemu-devel@nongnu.org Date: Fri, 11 Sep 2015 14:50:24 +0200 Message-Id: <1441975830-11828-2-git-send-email-victor.clement@openwide.fr> X-Mailer: git-send-email 2.5.1 In-Reply-To: <1441975830-11828-1-git-send-email-victor.clement@openwide.fr> References: <1441975830-11828-1-git-send-email-victor.clement@openwide.fr> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 213.162.52.98 Cc: victor.clement@outlook.com, Victor CLEMENT , julien.viarddegalbert@openwide.fr Subject: [Qemu-devel] [PATCH 1/7] configure: add --enable-scenario-engine option 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 Add an option to ./configure script to enable the scenario engine. It defines the CONFIG_SCENARIO constant. Signed-off-by: Victor CLEMENT --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure b/configure index cd219d8..466a71f 100755 --- a/configure +++ b/configure @@ -300,6 +300,7 @@ pkgversion="" pie="" zero_malloc="" qom_cast_debug="yes" +scenario="no" trace_backends="nop" trace_file="trace" spice="" @@ -788,6 +789,8 @@ for opt do ;; --target-list=*) target_list="$optarg" ;; + --enable-scenario-engine) scenario="yes" + ;; --enable-trace-backends=*) trace_backends="$optarg" ;; # XXX: backwards compatibility @@ -4552,6 +4555,7 @@ echo "uuid support $uuid" echo "libcap-ng support $cap_ng" echo "vhost-net support $vhost_net" echo "vhost-scsi support $vhost_scsi" +echo "Scenario engine $scenario" echo "Trace backends $trace_backends" if test "$trace_backend" = "simple"; then echo "Trace output file $trace_file-" @@ -5084,6 +5088,10 @@ if test "$tpm" = "yes"; then fi fi +if test "$scenario" = "yes" ; then + echo "CONFIG_SCENARIO=y" >> $config_host_mak +fi + echo "TRACE_BACKENDS=$trace_backends" >> $config_host_mak if have_backend "nop"; then echo "CONFIG_TRACE_NOP=y" >> $config_host_mak