qemu-rust
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 12/26] rust: qdev: move bridge for realize and reset function


From: Zhao Liu
Subject: Re: [PATCH 12/26] rust: qdev: move bridge for realize and reset functions out of pl011
Date: Wed, 11 Dec 2024 00:07:23 +0800

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 <pbonzini@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 <pbonzini@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.liu@intel.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]