On Mon, Dec 09, 2024 at 01:37:03PM +0100, Paolo Bonzini wrote: > Date: Mon, 9 Dec 2024 13:37:03 +0100 > From: Paolo Bonzini <pbonz...@redhat.com> > Subject: [PATCH 12/26] rust: qdev: move bridge for realize and reset > functions out of pl011 > X-Mailer: git-send-email 2.47.1 > > Allow the DeviceImpl trait to expose safe Rust functions. > rust_device_class_init<> adds thunks around the functions > in DeviceImpl. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > rust/hw/char/pl011/src/device.rs | 5 ++-- > rust/hw/char/pl011/src/device_class.rs | 26 ------------------- > rust/qemu-api/src/definitions.rs | 2 +- > rust/qemu-api/src/device_class.rs | 36 +++++++++++++++++++++----- > 4 files changed, 33 insertions(+), 36 deletions(-) >
Reviewed-by: Zhao Liu <zhao1....@intel.com>