]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
cpu-gather: Rename the script as cpu-data.py
authorJiri Denemark <jdenemar@redhat.com>
Thu, 7 Jan 2021 17:48:41 +0000 (18:48 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 8 Jan 2021 10:00:45 +0000 (11:00 +0100)
It is now doing way more than gathering the CPU data from a host as the
other scripts were merged in it.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/cpu_map/x86_features.xml
tests/cputestdata/cpu-data.py [moved from tests/cputestdata/cpu-gather.py with 99% similarity]

index 01a777e0e8502894eb368bb61672faddd7bb1729..5cfa07502a1ebcfaf4f792b89871eb540545057b 100644 (file)
@@ -1,7 +1,7 @@
 <!--
   After adding new features, update existing test files with
 
-    tests/cputestdata/cpu-gather.py diff tests/cputestdata/x86_64-cpuid-*.json
+    tests/cputestdata/cpu-data.py diff tests/cputestdata/x86_64-cpuid-*.json
 
 -->
 <cpus>
similarity index 99%
rename from tests/cputestdata/cpu-gather.py
rename to tests/cputestdata/cpu-data.py
index b8c1f23c8214e1592580a02c3974f0606c750356..a41f1d025c410444a8f04fb23b63cfbfe4c4aa3b 100755 (executable)
@@ -455,7 +455,7 @@ def main():
         help="Reads data from stdin and parses data for libvirt use.")
     subparsers.add_parser(
         "full",
-        help="Equivalent to `cpu-gather gather | cpu-gather parse`.")
+        help="Equivalent to `cpu-data.py gather | cpu-data.py parse`.")
     diffparser = subparsers.add_parser(
         "diff",
         help="Diff json description of CPU model against known features.")