Peter Maydell writes:
> On Fri, 30 Nov 2018 at 07:40, Markus Armbruster wrote:
>> Peter Maydell writes:
>> > Add an assert somewhere and catch it with the usual
>> > "instantiate everything" qtest?
>
>> The troublemaker is (3), where we may end up with an overridden
>> realize-like method and a
On Fri, 30 Nov 2018 at 07:40, Markus Armbruster wrote:
> Peter Maydell writes:
> > Add an assert somewhere and catch it with the usual
> > "instantiate everything" qtest?
> The troublemaker is (3), where we may end up with an overridden
> realize-like method and an non-matching, un-overridden un
Juan, David, there's a migration bit for you towards the end.
Peter Maydell writes:
> On Thu, 29 Nov 2018 at 19:03, Markus Armbruster wrote:
>>
>> Li Qiang writes:
>>
>> > Currently the dc390 device has no unrealize function. This
>> > can cause memory leak when hotplug/unplug device. Also mor
On Thu, 29 Nov 2018 at 19:03, Markus Armbruster wrote:
>
> Li Qiang writes:
>
> > Currently the dc390 device has no unrealize function. This
> > can cause memory leak when hotplug/unplug device. Also more
> > serious, it will trigger an assert when rehotplug.
> [...]
>
> When a hot-pluggable devi
Li Qiang writes:
> Currently the dc390 device has no unrealize function. This
> can cause memory leak when hotplug/unplug device. Also more
> serious, it will trigger an assert when rehotplug.
[...]
When a hot-pluggable device doesn't have an ->unrealize() method, unplug
is probably broken. I