[rdo-dev] qemu-kvm vs qemu-kvm-rhev requirement

Alan Pevec apevec at redhat.com
Tue Jun 5 12:56:00 UTC 2018


>> then we could sub-package openstack-nova to have separate optional
>> package for each hypervisor.
>
> I'm not sure I understand what you mean.  Can you please give an
> example?

To allow hypervisor-specific deps, we could split %package compute into

%package compute-common
as-is now, just w/o hypervisor specific Requires:

and subpackage per hypervisor e.g.
%package compute-kvm
Requires: openstack-nova-compute-common = %{epoch}:%{version}-%{release}
# backward compat
Provides: openstack-nova-compute
Obsoletes: openstack-nova-compute
Requires: qemu-kvm-rhev

%package compute-xen
Requires: openstack-nova-compute-common = %{epoch}:%{version}-%{release}
Requires: xen

%package compute-vz
Requires: openstack-nova-compute-common = %{epoch}:%{version}-%{release}
Requires: qemu-kvm-vz

TBH this might be an over-kill since we do not run anything but
qemu-kvm-ev in CI, so workaround in your qemu package providing
qemu-kvm-rhev is fine.

Cheers,
Alan


More information about the dev mailing list