On 09/27/2011 03:00 AM, Daniel P. Berrange wrote:
On Mon, Sep 26, 2011 at 04:45:48PM -0600, Eric Blake wrote:
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
ACK, but we arguably want similar changes to mingw32-libvirt.spec.in
and autobuild.sh's mingw32 part
I'm pushing this one as-is, and submitting a 3/1 that addresses the
additional concerns about the mingw spec file.
--
Eric Blake eblake@xxxxxxxxxx +1-801-349-2682
Libvirt virtualization library http://libvirt.org
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list