qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Juan Quintela <quintela@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 18/20] Add xen to new feature convention
Date: Wed, 12 Aug 2009 18:29:55 +0200	[thread overview]
Message-ID: <6c031bc65374d56aed85be73d7b55c0b51cd1ca5.1250093910.git.quintela@redhat.com> (raw)
In-Reply-To: <71025e96da7eb85957e11d9cf4530c1ee81577d5.1250093910.git.quintela@redhat.com>
In-Reply-To: <cover.1250093910.git.quintela@redhat.com>


Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 configure |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 9ce51a5..66e4208 100755
--- a/configure
+++ b/configure
@@ -191,6 +191,7 @@ sdl=""
 vde=""
 vnc_tls=""
 vnc_sasl=""
+xen=""

 gprof="no"
 debug_tcg="no"
@@ -223,7 +224,6 @@ kvm="no"
 kerneldir=""
 aix="no"
 blobs="yes"
-xen="yes"
 pkgversion=""

 # OS specific
@@ -476,6 +476,8 @@ for opt do
   ;;
   --disable-xen) xen="no"
   ;;
+  --enable-xen) xen="yes"
+  ;;
   --disable-brlapi) brlapi="no"
   ;;
   --enable-brlapi) brlapi="yes"
@@ -660,6 +662,7 @@ echo "  --audio-card-list=LIST   set list of emulated audio cards [$audio_card_l
 echo "                           Available cards: $audio_possible_cards"
 echo "  --enable-mixemu          enable mixer emulation"
 echo "  --disable-xen            disable xen backend driver support"
+echo "  --enable-xen             enable xen backend driver support"
 echo "  --disable-brlapi         disable BrlAPI"
 echo "  --enable-brlapi          enable BrlAPI"
 echo "  --disable-vnc-tls        disable TLS encryption for VNC server"
@@ -898,7 +901,7 @@ fi
 ##########################################
 # xen probe

-if test "$xen" = "yes" ; then
+if test "$xen" != "no" ; then
   xen_libs="-lxenstore -lxenctrl -lxenguest"
   cat > $TMPC <<EOF
 #include <xenctrl.h>
@@ -906,9 +909,13 @@ if test "$xen" = "yes" ; then
 int main(void) { xs_daemon_open(); xc_interface_open(); return 0; }
 EOF
   if compile_prog "" "$xen_libs" ; then
+    xen=yes
     libs_softmmu="$xen_libs $libs_softmmu"
   else
-    xen="no"
+    if test "$xen" = "yes" ; then
+      feature_not_found "xen"
+    fi
+    xen=no
   fi
 fi

-- 
1.6.2.5

  parent reply	other threads:[~2009-08-12 16:32 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-12 16:20 [Qemu-devel] [PATCH 00/20] Make --enable-foo a requirement Juan Quintela
2009-08-12 16:20 ` [Qemu-devel] [PATCH 01/20] Make vnc configure options less verbose Juan Quintela
2009-08-12 16:20 ` [Qemu-devel] [PATCH 02/20] Use the same structure for list of libs in curses and pthread Juan Quintela
2009-08-12 16:20 ` [Qemu-devel] [PATCH 03/20] Add feature configure help Juan Quintela
2009-08-12 16:20 ` [Qemu-devel] [PATCH 04/20] Add error message for feature not found Juan Quintela
2009-08-12 16:20 ` [Qemu-devel] [PATCH 05/20] Add brlapi to new feature convencion Juan Quintela
2009-08-12 16:20 ` [Qemu-devel] [PATCH 06/20] Add vde " Juan Quintela
2009-08-12 16:20 ` [Qemu-devel] [PATCH 07/20] Add vnc_tls " Juan Quintela
2009-08-12 16:20 ` [Qemu-devel] [PATCH 08/20] Add vnc_sasl " Juan Quintela
2009-08-12 16:20 ` [Qemu-devel] [PATCH 09/20] Add curses " Juan Quintela
2009-08-12 16:29 ` [Qemu-devel] [PATCH 10/20] Add curl " Juan Quintela
2009-08-12 16:29 ` [Qemu-devel] [PATCH 11/20] Add pthread " Juan Quintela
2009-08-12 16:29 ` [Qemu-devel] [PATCH 12/20] Add nptl " Juan Quintela
2009-08-12 17:16   ` Nathan Froyd
2009-08-12 18:31     ` [Qemu-devel] " Juan Quintela
2009-08-12 16:29 ` [Qemu-devel] [PATCH 13/20] Add bluez " Juan Quintela
2009-08-12 16:29 ` [Qemu-devel] [PATCH 14/20] Add build_docs to new feature convention Juan Quintela
2009-08-12 16:29 ` [Qemu-devel] [PATCH 15/20] Rename build_docs to docs Juan Quintela
2009-08-12 16:29 ` [Qemu-devel] [PATCH 16/20] Add sdl to new feature convention Juan Quintela
2009-08-12 16:29 ` [Qemu-devel] [PATCH 17/20] Add fdt " Juan Quintela
2009-08-12 16:29 ` Juan Quintela [this message]
2009-08-12 16:29 ` [Qemu-devel] [PATCH 19/20] Add kvm " Juan Quintela
2009-08-12 16:29 ` [Qemu-devel] [PATCH 20/20] Add sparse " Juan Quintela

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=6c031bc65374d56aed85be73d7b55c0b51cd1ca5.1250093910.git.quintela@redhat.com \
    --to=quintela@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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).