]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
scripts/vmstate-static-checker.py: Add new hpet entry for num_timers
authorPeter Xu <peterx@redhat.com>
Thu, 1 May 2025 15:12:35 +0000 (11:12 -0400)
committerPeter Xu <peterx@redhat.com>
Tue, 20 May 2025 15:26:32 +0000 (11:26 -0400)
The old "num_timers" got a rename.  See commit 1433e38cc8 ("hpet: do not
overwrite properties on post_load") for more details.  Teach the script to
accept the new name.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Thomas Huth <thuth@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/20250501151235.636709-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
scripts/vmstate-static-checker.py

index 25aca839a034adb971d1fc0456a8322df86924d3..2335e25f94c4658e5005d579e15dc0f668b8570c 100755 (executable)
@@ -91,6 +91,7 @@ def check_fields_match(name, s_field, d_field):
                       'mem_win_size', 'mig_mem_win_size',
                       'io_win_addr', 'mig_io_win_addr',
                       'io_win_size', 'mig_io_win_size'],
+        'hpet': ['num_timers', 'num_timers_save'],
     }
 
     if not name in changed_names: