[libvirt PATCH 2/3] cpu_map: Suggest better command for updating test data files

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


cpu-cpuid.py was merged into cpu-gather.py and the script can handle
multiple files so there's no need for a loop around it.

Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
---
 src/cpu_map/x86_features.xml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml
index 4836595a8c..01a777e0e8 100644
--- a/src/cpu_map/x86_features.xml
+++ b/src/cpu_map/x86_features.xml
@@ -1,9 +1,8 @@
 <!--
   After adding new features, update existing test files with
 
-    for json in tests/cputestdata/x86_64-cpuid-*.json; do
-      tests/cputestdata/cpu-cpuid.py diff $json
-    done
+    tests/cputestdata/cpu-gather.py diff tests/cputestdata/x86_64-cpuid-*.json
+
 -->
 <cpus>
   <!-- standard features, EDX -->
-- 
2.30.0




More information about the libvir-list mailing list