[libvirt PATCH 3/3] cpu-gather: Rename the script as cpu-data.py

Jiri Denemark jdenemar at redhat.com
Thu Jan 7 23:03:11 UTC 2021


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 at redhat.com>
---
 src/cpu_map/x86_features.xml                     | 2 +-
 tests/cputestdata/{cpu-gather.py => cpu-data.py} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename tests/cputestdata/{cpu-gather.py => cpu-data.py} (99%)

diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml
index 01a777e0e8..5cfa07502a 100644
--- a/src/cpu_map/x86_features.xml
+++ b/src/cpu_map/x86_features.xml
@@ -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>
diff --git a/tests/cputestdata/cpu-gather.py b/tests/cputestdata/cpu-data.py
similarity index 99%
rename from tests/cputestdata/cpu-gather.py
rename to tests/cputestdata/cpu-data.py
index b8c1f23c82..a41f1d025c 100755
--- a/tests/cputestdata/cpu-gather.py
+++ b/tests/cputestdata/cpu-data.py
@@ -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.")
-- 
2.30.0




More information about the libvir-list mailing list