[libvirt] [PATCH] spec: Enable ESX driver on RHEL

Jiri Denemark jdenemar at redhat.com
Thu Dec 23 17:04:15 UTC 2010


> > -# RHEL doesn't ship OpenVZ, VBox, UML, OpenNebula, PowerHypervisor, ESX,
> > +# RHEL doesn't ship OpenVZ, VBox, UML, OpenNebula, PowerHypervisor,
> >  # VMWare, or libxenserver (xenapi)
> >  %if 0%{?rhel}
> 
> Actually, I'm thinking it's better to do:
> 
> %if 0%{%rhel}
> #disable all but esx
> %endif
> 
> # Additionally, RHEL 5 lacks ESX.
> %if 0%{?rhel} < 6
> %define with_esx 0
> %endif
> 
> So that we can share a single spec file among both RHEL versions.

We do enable esx driver even on RHEL 5 so we don't need to deal with it
separately to share the spec file.

Jirka




More information about the libvir-list mailing list