diff options
author | Peter Xu <peterx@redhat.com> | 2025-05-01 11:12:35 -0400 |
---|---|---|
committer | Peter Xu <peterx@redhat.com> | 2025-05-20 11:26:32 -0400 |
commit | c4f88b7136aa5aa5670a16c2f173ffb45da401b2 (patch) | |
tree | 688a51cabf58658d44f860309d2f5ee1e1c92eae /scripts/vmstate-static-checker.py | |
parent | 2af4a82ab2cce3412ffc92cd4c96bd870e33bc8e (diff) | |
download | qemu-c4f88b7136aa5aa5670a16c2f173ffb45da401b2.zip qemu-c4f88b7136aa5aa5670a16c2f173ffb45da401b2.tar.gz qemu-c4f88b7136aa5aa5670a16c2f173ffb45da401b2.tar.bz2 |
scripts/vmstate-static-checker.py: Add new hpet entry for num_timers
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>
Diffstat (limited to 'scripts/vmstate-static-checker.py')
-rwxr-xr-x | scripts/vmstate-static-checker.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vmstate-static-checker.py b/scripts/vmstate-static-checker.py index 25aca83..2335e25 100755 --- a/scripts/vmstate-static-checker.py +++ b/scripts/vmstate-static-checker.py @@ -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: |