On Tue, Dec 31, 2024 at 01:23:36AM +0100, Paolo Bonzini wrote: > Date: Tue, 31 Dec 2024 01:23:36 +0100 > From: Paolo Bonzini <pbonz...@redhat.com> > Subject: [RFC PATCH 9/9] rust: vmstate: remove translation of C vmstate > macros > X-Mailer: git-send-email 2.47.1 > > Keep vmstate_clock!; because it uses a field of type VMStateDescription, > it cannot be converted to the VMState trait without access to the > const_refs_static feature. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > rust/qemu-api/src/vmstate.rs | 274 +++-------------------------------- > 1 file changed, 23 insertions(+), 251 deletions(-) >
Reviewed-by: Zhao Liu <zhao1....@intel.com>