From: Zhao Liu <zhao1.liu@intel.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org, qemu-rust@nongnu.org,
Chen Miao <chenmiao@openatom.club>
Subject: Re: [PATCH] rust: migration: allow passing ParentField<> to vmstate_of!
Date: Wed, 29 Oct 2025 23:40:20 +0800 [thread overview]
Message-ID: <aQI1ZCwbp3mkIzs+@intel.com> (raw)
In-Reply-To: <20251028113821.1736215-1-pbonzini@redhat.com>
On Tue, Oct 28, 2025 at 12:38:21PM +0100, Paolo Bonzini wrote:
> Date: Tue, 28 Oct 2025 12:38:21 +0100
> From: Paolo Bonzini <pbonzini@redhat.com>
> Subject: [PATCH] rust: migration: allow passing ParentField<> to vmstate_of!
> X-Mailer: git-send-email 2.51.1
>
> The common superclass for devices could have its own migration state;
> for it to be included in the subclass's VMState, ParentField<> must
> implement the VMState trait.
>
> Reported-by: Chen Miao <chenmiao@openatom.club>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> roms/opensbi | 2 +-
> rust/migration/src/vmstate.rs | 3 ++-
> rust/qom/src/qom.rs | 3 ++-
> 3 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/roms/opensbi b/roms/opensbi
> index a32a9106911..43cace6c367 160000
> --- a/roms/opensbi
> +++ b/roms/opensbi
> @@ -1 +1 @@
> -Subproject commit a32a91069119e7a5aa31e6bc51d5e00860be3d80
> +Subproject commit 43cace6c3671e5172d0df0a8963e552bb04b7b20
nit: rebase error?
Others,
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
prev parent reply other threads:[~2025-10-29 15:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-28 11:38 [PATCH] rust: migration: allow passing ParentField<> to vmstate_of! Paolo Bonzini
2025-10-29 15:40 ` Zhao Liu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aQI1ZCwbp3mkIzs+@intel.com \
--to=zhao1.liu@intel.com \
--cc=chenmiao@openatom.club \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-rust@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.