Re: [PATCH v3 10/11] qdev: Make netdev properties work as list elements

2023-11-09 Thread Philippe Mathieu-Daudé
On 9/11/23 18:42, Kevin Wolf wrote: The 'name' parameter of QOM setters is primarily used to specify the name of the currently parsed input element in the visitor interface. For top-level qdev properties, this is always set and matches 'prop->name'. However, for list elements it is NULL, because

[PATCH v3 10/11] qdev: Make netdev properties work as list elements

2023-11-09 Thread Kevin Wolf
The 'name' parameter of QOM setters is primarily used to specify the name of the currently parsed input element in the visitor interface. For top-level qdev properties, this is always set and matches 'prop->name'. However, for list elements it is NULL, because each element of a list doesn't have a