[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>
- Re: [PATCH 26/26] rust: callbacks: allow passing optional callbacks as (), (continued)
[PATCH 23/26] rust: qom: add initial subset of methods on Object, Paolo Bonzini, 2024/12/09
[PATCH 21/26] rust: tests: allow writing more than one test, 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 18/26] rust: qom: add possibility of overriding unparent, Paolo Bonzini, 2024/12/09
[PATCH 25/26] rust: qemu-api: add a module to wrap functions and zero-sized closures, Paolo Bonzini, 2024/12/09
[PATCH 19/26] rust: rename qemu-api modules to follow C code a bit more, Paolo Bonzini, 2024/12/09