rust/migration: Remove vmstate_validate!() and VMS_MUST_EXIST
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | rust/migration: Allow usize as the length of a varrayrust/ rust/ | +63 | 0 replies | |
| 2/3 | rust/hpet: Move vmstate_validate!() check into post_loadrust/ | +23 | 2 replies | |
| 3/3 | rust/migration: Remove vmstate_validate!() macro and testrust/ rust/ rust/ | +8 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Peter Xu |
|---|---|
| 1/3 | |
| 2/3 | Originally-by |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] rust/migration: Remove vmstate_validate!() and VMS_MUST_EXIST
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/[email protected]/
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(-)
Signature · 1 line
2.34.1