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 <[email protected]>
> 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 <[email protected]>
> Signed-off-by: Paolo Bonzini <[email protected]>
> ---
>  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 <[email protected]>


Reply via email to