rust: vmstate: remove translation of C vmstate macros
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 Jan 2025 09:29:27 +0000 (10:29 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Jan 2025 10:50:53 +0000 (11:50 +0100)
commit9d4899496b555751c8ea4155d6da4fc3dbd7edae
treeb01b68aad98de028672616859a7c485a49123c29
parentb800a3132194014928cfbf9d79062da77ea70fee
rust: vmstate: remove translation of C vmstate macros

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.

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