]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemucapabilitiesdata: Document faked caps dumps
authorPeter Krempa <pkrempa@redhat.com>
Thu, 22 Feb 2024 13:34:25 +0000 (14:34 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 6 Mar 2024 15:30:35 +0000 (16:30 +0100)
Document the reality that some dumps were faked for purpose of testing
corner cases.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
tests/qemucapabilitiesdata/README.rst

index 90e240f8001d3c09896cfec42d18cf54e7eb2792..727695c6b042f93dd0a62ebd6f3973bad2461c21 100644 (file)
@@ -116,3 +116,21 @@ The tool validates and updates the numbering of the entries in the QMP dump in
 case something was modified.
 
 The tool also allows programatic modification of the ``.replies`` file.
+
+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.
+
+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. A fake caps
+dump can be usually spotted by absence of KVM support.