Re: [PATCH 0/3] hw: Fix abuse of QOM class internals modified by their instances

2023-05-23 Thread Philippe Mathieu-Daudé
(posted too quickly) On 23/5/23 08:44, Philippe Mathieu-Daudé wrote: Bernhard warned for QOM class abuse here [*]: A realize method is supposed to modify a single instance only while we're modifying the behavior of whole classes here, i.e. will affect every instance of these classes. This goes

[PATCH 0/3] hw: Fix abuse of QOM class internals modified by their instances

2023-05-22 Thread Philippe Mathieu-Daudé
Bernhard warned for QOM class abuse here [*]: > A realize method is supposed to modify a single instance only > while we're modifying the behavior of whole classes here, i.e. > will affect every instance of these classes. This goes against > QOM design principles and will therefore be confusing fo