[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>
- [PATCH 08/26] rust: qom: rename Class trait to ClassInitImpl, (continued)
- [PATCH 08/26] rust: qom: rename Class trait to ClassInitImpl, Paolo Bonzini, 2024/12/09
- [PATCH 06/26] rust: add a bit operation module, Paolo Bonzini, 2024/12/09
- [PATCH 10/26] rust: qom: move ClassInitImpl to the instance side, Paolo Bonzini, 2024/12/09
- [PATCH 09/26] rust: qom: convert type_info! macro to an associated const, Paolo Bonzini, 2024/12/09
- [PATCH 12/26] rust: qdev: move bridge for realize and reset functions out of pl011, Paolo Bonzini, 2024/12/09
- Re: [PATCH 12/26] rust: qdev: move bridge for realize and reset functions out of pl011,
Zhao Liu <=
- [PATCH 13/26] rust: qom: automatically use Drop trait to implement instance_finalize, Paolo Bonzini, 2024/12/09
- [PATCH 14/26] rust: qom: move bridge for TypeInfo functions out of pl011, Paolo Bonzini, 2024/12/09