All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] rust/migration: Remove vmstate_validate!() and VMS_MUST_EXIST
@ 2026-11-24  9:58 Zhao Liu
  2026-11-24  9:58 ` [PATCH 1/3] rust/migration: Allow usize as the length of a varray Zhao Liu
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Zhao Liu @ 2026-11-24  9:58 UTC (permalink / raw)
  To: Peter Xu, Peter Maydell, Fabiano Rosas, Paolo Bonzini,
	Manos Pitsidianakis
  Cc: qemu-devel, qemu-rust, Zhao Liu

Hi,

This simple series is based on Peter Xu's series [*] and mainly refines
patch 5 — removing `vmstate_validate!()` from Rust HPET (while
maintaining consistency logic with C HPET as much as possible).

I originally planned to use a single patch, but breaking it up this way
makes it easier to review. I suppose these three small patches could
also replace Peter's patch 5 :-).

There is also some cleanup work left (e.g., support post_load_errp() in
Rust); I will address this in some separate patch later (without
blocking the current effort to remove `vmstate_validate!()`).

[*]: https://lore.kernel.org/qemu-devel/20261120124923.1656220-6-peterx@redhat.com/

Thanks and Best Regards,
Zhao
---
Zhao Liu (3):
  rust/migration: Allow usize as the length of a varray
  rust/hpet: Move vmstate_validate!() check into post_load
  rust/migration: Remove vmstate_validate!() macro and test

 rust/hw/timer/hpet/src/device.rs  | 45 +++++++++----------
 rust/migration/src/prelude.rs     |  1 -
 rust/migration/src/vmstate.rs     | 33 ++++++--------
 rust/tests/tests/vmstate_tests.rs | 72 ++++++++++---------------------
 4 files changed, 59 insertions(+), 92 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2026-11-25 20:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24  9:58 [PATCH 0/3] rust/migration: Remove vmstate_validate!() and VMS_MUST_EXIST Zhao Liu
2026-11-24  9:58 ` [PATCH 1/3] rust/migration: Allow usize as the length of a varray Zhao Liu
2026-11-24  9:58 ` [PATCH 2/3] rust/hpet: Move vmstate_validate!() check into post_load Zhao Liu
2026-11-24 10:10   ` Philippe Mathieu-Daudé
2026-11-24 10:22     ` Zhao Liu
2026-11-24  9:58 ` [PATCH 3/3] rust/migration: Remove vmstate_validate!() macro and test Zhao Liu
2026-11-25 20:19 ` [PATCH 0/3] rust/migration: Remove vmstate_validate!() and VMS_MUST_EXIST Peter Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.