Skip to content

rust: vmstate: improvements to varray handling

Paolo Bonzini qemu-devel qemu-rust 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rust: vmstate: support varray for vmstate_clock!rust/qemu-api/src/vmstate.rs+10 -30 replies
2/2rust: assertions: Support index field wrapped in BqlCellrust/qemu-api/src/assertions.rs+9 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] rust: vmstate: improvements to varray handling

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(-)
Signature · 1 line
2.49.0