Re: [PATCH 10/17] e1000: Don't run e1000_instance_init() twice

2020-04-29 Thread Jason Wang
On 2020/4/29 上午12:34, Markus Armbruster wrote: QOM object initialization runs .instance_init() for the type and all its supertypes; see object_init_with_type(). Both TYPE_E1000_BASE and its concrete subtypes set .instance_init() to e1000_instance_init(). For the concrete subtypes, it duly get

[PATCH 10/17] e1000: Don't run e1000_instance_init() twice

2020-04-28 Thread Markus Armbruster
QOM object initialization runs .instance_init() for the type and all its supertypes; see object_init_with_type(). Both TYPE_E1000_BASE and its concrete subtypes set .instance_init() to e1000_instance_init(). For the concrete subtypes, it duly gets run twice. The second run fails, but the error g