qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scripts/vmstate-static-checker.py: Add new hpet entry for num_timers
@ 2025-05-01 15:12 Peter Xu
  2025-05-05  6:25 ` Thomas Huth
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Xu @ 2025-05-01 15:12 UTC (permalink / raw)
  To: qemu-devel
  Cc: peterx, Juraj Marcin, Fabiano Rosas, Paolo Bonzini, Thomas Huth

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>
Signed-off-by: Peter Xu <peterx@redhat.com>
---
 scripts/vmstate-static-checker.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/vmstate-static-checker.py b/scripts/vmstate-static-checker.py
index 25aca839a0..2335e25f94 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:
-- 
2.48.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] scripts/vmstate-static-checker.py: Add new hpet entry for num_timers
  2025-05-01 15:12 [PATCH] scripts/vmstate-static-checker.py: Add new hpet entry for num_timers Peter Xu
@ 2025-05-05  6:25 ` Thomas Huth
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Huth @ 2025-05-05  6:25 UTC (permalink / raw)
  To: Peter Xu, qemu-devel; +Cc: Juraj Marcin, Fabiano Rosas, Paolo Bonzini

On 01/05/2025 17.12, Peter Xu wrote:
> 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>
> Signed-off-by: Peter Xu <peterx@redhat.com>
> ---
>   scripts/vmstate-static-checker.py | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/scripts/vmstate-static-checker.py b/scripts/vmstate-static-checker.py
> index 25aca839a0..2335e25f94 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:

Reviewed-by: Thomas Huth <thuth@redhat.com>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-05  6:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-01 15:12 [PATCH] scripts/vmstate-static-checker.py: Add new hpet entry for num_timers Peter Xu
2025-05-05  6:25 ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).