qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Victor CLEMENT <victor.clement@openwide.fr>
To: qemu-devel@nongnu.org
Cc: victor.clement@outlook.com,
	Victor CLEMENT <victor.clement@openwide.fr>,
	julien.viarddegalbert@openwide.fr
Subject: [Qemu-devel] [PATCH 1/7] configure: add --enable-scenario-engine option
Date: Fri, 11 Sep 2015 14:50:24 +0200	[thread overview]
Message-ID: <1441975830-11828-2-git-send-email-victor.clement@openwide.fr> (raw)
In-Reply-To: <1441975830-11828-1-git-send-email-victor.clement@openwide.fr>

Add an option to ./configure script to enable the scenario engine.
It defines the CONFIG_SCENARIO constant.

Signed-off-by: Victor CLEMENT <victor.clement@openwide.fr>
---
 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-<pid>"
@@ -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
-- 
2.5.1

  reply	other threads:[~2015-09-11 12:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-11 12:50 [Qemu-devel] [PATCH 0/7] Qemu scenario engine Victor CLEMENT
2015-09-11 12:50 ` Victor CLEMENT [this message]
2015-09-11 12:50 ` [Qemu-devel] [PATCH 2/7] gpio-pl061: add a scenario engine interaction API Victor CLEMENT
2015-09-11 12:50 ` [Qemu-devel] [PATCH 3/7] chardev: add a scenario engine backend Victor CLEMENT
2015-09-11 13:11   ` Eric Blake
2015-09-11 12:50 ` [Qemu-devel] [PATCH 4/7] scenario-engine: add utilities Victor CLEMENT
2015-09-11 12:50 ` [Qemu-devel] [PATCH 5/7] scenario-engine: add a time based event scheduler Victor CLEMENT
2015-09-11 12:50 ` [Qemu-devel] [PATCH 6/7] scenario engine: provide a scenario file template Victor CLEMENT
2015-09-11 12:50 ` [Qemu-devel] [PATCH 7/7] scenario engine: add a Qemu option to start it Victor CLEMENT
2015-09-11 13:11 ` [Qemu-devel] [PATCH 0/7] Qemu scenario engine Andreas Färber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1441975830-11828-2-git-send-email-victor.clement@openwide.fr \
    --to=victor.clement@openwide.fr \
    --cc=julien.viarddegalbert@openwide.fr \
    --cc=qemu-devel@nongnu.org \
    --cc=victor.clement@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).