Small improvements to vmstate. The second patch is a simpler replacement
for https://lists.nongnu.org/archive/html/qemu-rust/2025-04/msg00018.html,
and is needed for HPET migration support.
I will include the remaining HPET migration code in the next pull request.
I have done some more experiments on Builder, but vmstate_fields!{} requires
the const_refs_static feature (which should not be a surprise...) and hence
Rust 1.83.0. I will maintain the patches in my tree though.
Paolo Bonzini (2):
rust: vmstate: support varray for vmstate_clock!
rust: assertions: Support index field wrapped in BqlCell
rust/qemu-api/src/assertions.rs | 25 +++++++++----------------
rust/qemu-api/src/vmstate.rs | 13 ++++++++++---
2 files changed, 19 insertions(+), 19 deletions(-)
--
2.49.0