[libvirt] [PATCH 2/1] spec: exclude HyperV for RHEL

Eric Blake eblake at redhat.com
Mon Sep 26 22:45:48 UTC 2011


Don't force RHEL to build HyperV support yet.

* libvirt.spec.in (%{?rhel}): Provide default for with_hyperv.
---
 libvirt.spec.in |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 03d6f1f..b87e3f6 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -97,7 +97,8 @@
 %endif

 # RHEL doesn't ship OpenVZ, VBox, UML, PowerHypervisor,
-# VMWare, libxenserver (xenapi), or libxenlight (Xen 4.1 and newer)
+# VMWare, libxenserver (xenapi), libxenlight (Xen 4.1 and newer),
+# or HyperV.
 %if 0%{?rhel}
 %define with_openvz 0
 %define with_vbox 0
@@ -106,6 +107,7 @@
 %define with_vmware 0
 %define with_xenapi 0
 %define with_libxl 0
+%define with_hyperv 0
 %endif

 # RHEL-5 has restricted QEMU to x86_64 only and is too old for LXC
-- 
1.7.4.4




More information about the libvir-list mailing list