Re: [PATCH v2 07/16] rust/qobject: add from/to JSON bindings for QObject

Zhao Liu
2026-01-15T12:52:39Z

On Thu, Jan 08, 2026 at 02:10:34PM +0100, Paolo Bonzini wrote:
> Date: Thu, 8 Jan 2026 14:10:34 +0100
> From: Paolo Bonzini <pbonzini@redhat.com>
> Subject: [PATCH v2 07/16] rust/qobject: add from/to JSON bindings for
> QObject
> X-Mailer: git-send-email 2.52.0
>
> These are used by tests. However it could even be an idea to use
> serde_json + transcoding and get rid of the C version...
>
> Co-authored-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> rust/util/wrapper.h | 1 +
> rust/util/src/qobject/mod.rs | 17 +++++++++++++++++
> 2 files changed, 18 insertions(+)

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>