public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Vadim Rozenfeld <vrozenfe@redhat.com>
To: kvm@vger.kernel.org
Cc: Avi Kivity <avi@redhat.com>, Vadim Rozenfeld <vrozenfe@redhat.com>
Subject: [RFC PATCH 3/7] [hyper-v] make Hyper-V option configurable.
Date: Sun,  9 Oct 2011 20:52:51 +0200	[thread overview]
Message-ID: <1318186375-27672-4-git-send-email-vrozenfe@redhat.com> (raw)
In-Reply-To: <1318186375-27672-1-git-send-email-vrozenfe@redhat.com>

---
 Makefile.target |    1 +
 configure       |   11 +++++++++++
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/Makefile.target b/Makefile.target
index f84d8cb..3581480 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -199,6 +199,7 @@ obj-$(CONFIG_VHOST_NET) += vhost.o
 obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/virtio-9p-device.o
 obj-$(CONFIG_KVM) += kvm.o kvm-all.o
 obj-$(CONFIG_NO_KVM) += kvm-stub.o
+obj-$(CONFIG_HYPERV) += hyperv.o
 obj-y += memory.o
 LIBS+=-lz
 
diff --git a/configure b/configure
index 94c7d31..f5ecfd7 100755
--- a/configure
+++ b/configure
@@ -150,6 +150,7 @@ debug="no"
 strip_opt="yes"
 bigendian="no"
 mingw32="no"
+hyperv="no"
 EXESUF=""
 prefix="/usr/local"
 mandir="\${prefix}/share/man"
@@ -762,6 +763,10 @@ for opt do
   ;;
   --enable-vhost-net) vhost_net="yes"
   ;;
+  --disable-hyperv) hyperv="no"
+  ;;
+  --enable-hyperv) hyperv="yes"
+  ;;
   --disable-opengl) opengl="no"
   ;;
   --enable-opengl) opengl="yes"
@@ -1062,6 +1067,8 @@ echo "  --enable-docs            enable documentation build"
 echo "  --disable-docs           disable documentation build"
 echo "  --disable-vhost-net      disable vhost-net acceleration support"
 echo "  --enable-vhost-net       enable vhost-net acceleration support"
+echo "  --enable-hyperv          enable Hyper-V support"
+echo "  --disable-hyperv         disable Hyper-V support"
 echo "  --enable-trace-backend=B Set trace backend"
 echo "                           Available backends:" $("$source_path"/scripts/tracetool --list-backends)
 echo "  --with-trace-file=NAME   Full PATH,NAME of file to store traces"
@@ -2737,6 +2744,7 @@ echo "madvise           $madvise"
 echo "posix_madvise     $posix_madvise"
 echo "uuid support      $uuid"
 echo "vhost-net support $vhost_net"
+echo "Hyper-V support   $hyperv"
 echo "Trace backend     $trace_backend"
 echo "Trace output file $trace_file-<pid>"
 echo "spice support     $spice"
@@ -3424,6 +3432,9 @@ case "$target_arch2" in
       if test $kvm_cap_device_assignment = "yes" ; then
         echo "CONFIG_KVM_DEVICE_ASSIGNMENT=y" >> $config_target_mak
       fi
+      if test "$hyperv" = "yes" ; then
+        echo "CONFIG_HYPERV=y" >> $config_target_mak
+      fi
     fi
 esac
 if test "$target_bigendian" = "yes" ; then
-- 
1.7.4.4


  parent reply	other threads:[~2011-10-09 18:53 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-09 18:52 [RFC PATCH 0/7] Initial support for Microsoft Hyper-V Vadim Rozenfeld
2011-10-09 18:52 ` [RFC PATCH 1/7] [hyper-v] Add hyper-v parameters block Vadim Rozenfeld
2011-10-10  6:54   ` Jan Kiszka
2011-10-10  9:40     ` Vadim Rozenfeld
2011-10-10 10:25       ` Jan Kiszka
2011-10-11  7:35   ` Paolo Bonzini
2011-10-11  7:42     ` Paolo Bonzini
2011-10-09 18:52 ` [RFC PATCH 2/7] [hyper-v] add hyper-v placeholders Vadim Rozenfeld
2011-10-11  7:40   ` Paolo Bonzini
2011-10-09 18:52 ` Vadim Rozenfeld [this message]
2011-10-10  6:54   ` [RFC PATCH 3/7] [hyper-v] make Hyper-V option configurable Jan Kiszka
2011-10-09 18:52 ` [RFC PATCH 4/7] [hyper-v] hyper-v parameters Vadim Rozenfeld
2011-10-09 18:52 ` [RFC PATCH 5/7] [hyper-v] hyper-v helper functions Vadim Rozenfeld
2011-10-09 19:01   ` Alon Levy
2011-10-10  6:45     ` Vadim Rozenfeld
2011-10-09 18:52 ` [RFC PATCH 6/7] [hyper-v] parse hyper-v parameters Vadim Rozenfeld
2011-10-09 18:52 ` [RFC PATCH 7/7] [hyper-v] init hyper-v cpuid leafs Vadim Rozenfeld
2011-10-11  7:38   ` Paolo Bonzini
2011-10-11 13:46     ` Vadim Rozenfeld
2011-10-11 15:52       ` Paolo Bonzini
2011-10-11 16:09         ` Vadim Rozenfeld
2011-10-11 16:17           ` Paolo Bonzini
2011-10-10  6:53 ` [RFC PATCH 0/7] Initial support for Microsoft Hyper-V Jan Kiszka
2011-10-10  9:39   ` Vadim Rozenfeld

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=1318186375-27672-4-git-send-email-vrozenfe@redhat.com \
    --to=vrozenfe@redhat.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.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