Re: [PATCH 05/14] rust: add Serializer (to_qobject) implementation for QObject

Zhao Liu <[email protected]>
Newsgroups org.nongnu.qemu-rust,org.nongnu.qemu-devel
Message-ID <[email protected]>
On Wed, Oct 01, 2025 at 10:00:42AM +0200, Paolo Bonzini wrote:
> Date: Wed,  1 Oct 2025 10:00:42 +0200
> From: Paolo Bonzini <[email protected]>
> Subject: [PATCH 05/14] rust: add Serializer (to_qobject) implementation for
>  QObject
> X-Mailer: git-send-email 2.51.0
> 
> This allows creating QObject from any serializable data structure.
> 
> Co-authored-by: Marc-André Lureau <[email protected]>
> Signed-off-by: Marc-André Lureau <[email protected]>
> Signed-off-by: Paolo Bonzini <[email protected]>
> ---
>  rust/util/meson.build               |   2 +
>  rust/util/src/qobject/error.rs      |  52 +++
>  rust/util/src/qobject/mod.rs        |   4 +
>  rust/util/src/qobject/serializer.rs | 585 ++++++++++++++++++++++++++++
>  4 files changed, 643 insertions(+)
>  create mode 100644 rust/util/src/qobject/error.rs
>  create mode 100644 rust/util/src/qobject/serializer.rs

Good implementation,

Reviewed-by: Zhao Liu <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.