]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust: migration: implement ToMigrationState as part of impl_vmstate_bitsized
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Sep 2025 09:18:44 +0000 (11:18 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Oct 2025 12:43:54 +0000 (14:43 +0200)
commit7ee5875d423598ac55a0b55881d9a1ee5c3c7daf
tree24b789a046f05407271faa45327ea2a3acaf9c2f
parent67913e95bf7e9fb3c9e904055d7021b243ff1674
rust: migration: implement ToMigrationState as part of impl_vmstate_bitsized

This is most likely desirable, and is the easiest way to migrate
a bit-sized value without peeking at the innards of the bilge crate.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/migration/src/vmstate.rs