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

Daniel P. Berrange berrange at redhat.com
Tue Sep 27 09:00:08 UTC 2011


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


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list