]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust: vmstate: implement VMState for non-leaf types
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 29 Dec 2024 11:29:45 +0000 (12:29 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Jan 2025 10:50:53 +0000 (11:50 +0100)
commit80aa3045bd42bec287d1f9bcc94be32a4c1b582e
tree85735a28fdef7b21147a9991b7ea8e3a4ddf062b
parent0d43ddae35a29d1822ec3f35a31bfe7c91618ef4
rust: vmstate: implement VMState for non-leaf types

Arrays, pointers and cells use a VMStateField that is based on that
for the inner type.  The implementation therefore delegates to the
VMState implementation of the inner type.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/qemu-api/src/vmstate.rs