[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/7] configure: add --enable-scenario-engine option
From: |
Victor CLEMENT |
Subject: |
[Qemu-devel] [PATCH 1/7] configure: add --enable-scenario-engine option |
Date: |
Fri, 11 Sep 2015 14:50:24 +0200 |
Add an option to ./configure script to enable the scenario engine.
It defines the CONFIG_SCENARIO constant.
Signed-off-by: Victor CLEMENT <address@hidden>
---
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
- [Qemu-devel] [PATCH 0/7] Qemu scenario engine, Victor CLEMENT, 2015/09/11
- [Qemu-devel] [PATCH 1/7] configure: add --enable-scenario-engine option,
Victor CLEMENT <=
- [Qemu-devel] [PATCH 4/7] scenario-engine: add utilities, Victor CLEMENT, 2015/09/11
- [Qemu-devel] [PATCH 2/7] gpio-pl061: add a scenario engine interaction API, Victor CLEMENT, 2015/09/11
- [Qemu-devel] [PATCH 3/7] chardev: add a scenario engine backend, Victor CLEMENT, 2015/09/11
- [Qemu-devel] [PATCH 7/7] scenario engine: add a Qemu option to start it, Victor CLEMENT, 2015/09/11
- [Qemu-devel] [PATCH 6/7] scenario engine: provide a scenario file template, Victor CLEMENT, 2015/09/11
- [Qemu-devel] [PATCH 5/7] scenario-engine: add a time based event scheduler, Victor CLEMENT, 2015/09/11
- Re: [Qemu-devel] [PATCH 0/7] Qemu scenario engine, Andreas Färber, 2015/09/11