On Tue, Dec 31, 2024 at 01:23:31AM +0100, Paolo Bonzini wrote: > Date: Tue, 31 Dec 2024 01:23:31 +0100 > From: Paolo Bonzini <pbonz...@redhat.com> > Subject: [RFC PATCH 4/9] rust: vmstate: implement Zeroable for VMStateField > X-Mailer: git-send-email 2.47.1 > > This shortens a bit the constants. Do not bother using it > in the vmstate macros since most of them will go away soon. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > rust/qemu-api/src/vmstate.rs | 18 +++--------------- > rust/qemu-api/src/zeroable.rs | 31 +++++++++++++++++++++++++++++++ > 2 files changed, 34 insertions(+), 15 deletions(-) >
Reviewed-by: Zhao Liu <zhao1....@intel.com>