Il mer 18 dic 2024, 15:32 Zhao Liu <zhao1....@intel.com> ha scritto:

> On Wed, Dec 18, 2024 at 11:26:35AM +0100, Paolo Bonzini wrote:
> > Date: Wed, 18 Dec 2024 11:26:35 +0100
> > From: Paolo Bonzini <pbonz...@redhat.com>
> > Subject: Re: [PATCH 24/26] rust: qom: move device_id to PL011 class side
> >
> > On 12/18/24 08:14, Paolo Bonzini wrote:
> > >     Moving on to another topic, about the gap (or question :-)) where a
> > >     child class inherits the ClassInitImpl trait from the parent,
> please see
> > >     my test case example below: Doing something similar to
> SysBusDevice and
> > >     DeviceState using a generic T outside of the QOM library would
> violate
> > >     the orphan rule.
>
> BTW, maybe we could also squash my previous example in test? :-)
>

Sure.

Paolo

Reply via email to