| commit | d4fbf6ff8d12cd11d53f7baa408f50fbb0441d87 | [log] [tgz] |
|---|---|---|
| author | Paolo Bonzini <pbonzini@redhat.com> | Tue Oct 28 12:21:29 2025 +0100 |
| committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Oct 29 10:23:56 2025 +0100 |
| tree | 4058960f5727f9391dcf1de23b31a4b695d12f6e | |
| parent | d5e1d2dea11b803ba9121fc12d3c1662b79ad941 [diff] |
rust: migration: allow passing ParentField<> to vmstate_of! 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>