Re: [PATCH 02/25] qemucapabilitiesdata: Document faked caps dumps

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

 



On Tue, Feb 27, 2024 at 05:36:04PM +0100, Peter Krempa wrote:
> +Fake test data dumps for certain architectures
> +==============================================
> +
> +For some architectures it was impossible or impractical to fetch real capability
> +dumps. To ensure coverate of certain cases the dumps were collected from
> +corresponding binaries running on a different architecture.
> +
> +The following files are fake:
> +
> + - ``caps_7.2.0_ppc``
> +   Captured on x86_64 host running fedora.

This list is guaranteed to go stale over time, and it's already
missing some entries right now (caps_5.1.0_sparc, caps_*_riscv64).

I would use more generic, future-proof language instead: something
along the lines of

  Capabilities dumps for the following architectures are usually
  produced on real hardware:

  - x86_64
  - aarch64
  - ppc64
  - s390x

  In most other cases, x86_64 will be used as the host architecture.

If there's a simple way to check whether a specific capability dump
has been produced on real hardware (presence of KVM support?) that
could be mentioned here as well for completeness' sake.

-- 
Andrea Bolognani / Red Hat / Virtualization
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux