Re: qemu-srpm-macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Richard W.M. Jones" <rjones@xxxxxxxxxx> writes:

> Information about what architectures support what virtualization
> features is encoded in the qemu spec file.
>
> As an example, only a subset of architectures support qemu at all.
> A different subset support KVM hardware acceleration.  To find out
> which you'd better be an expert at decoding RPM macros:
>
>   https://src.fedoraproject.org/rpms/qemu/blob/master/f/qemu.spec
>
> libvirt.spec duplicates this information (arches_qemu_kvm):
>
>   https://src.fedoraproject.org/rpms/libvirt/blob/master/f/libvirt.spec
>
> libguestfs.spec will need to duplicate this too because we will need
> to ExcludeArch riscv64 until libvirt-daemon-kvm support is added.  At
> least cockpit, gnome-boxes also need libvirt-daemon-kvm, so I guess
> they will need the same information.
>
> For OCaml we successfully tackled a similar problem by adding a new
> standalone package called ocaml-srpm-macros which defines what
> architectures support what features:
>
>   https://src.fedoraproject.org/rpms/ocaml-srpm-macros/blob/master/f/macros.ocaml-srpm
>
> Note in this case it is a new top level, standalone package that
> redhat-rpm-config depends on.  A simpler way to do this would be to
> have qemu itself provide the /etc/rpm/macros.d/macros.qemu file.

Sounds good to me, but that has the disadvantage that every package that
wants to use these macros has to BuildRequire qemu. So unless that's the
default anyway, I'd suggest to use a subpackage.


Cheers,

Dan

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux