Re: [RFC PATCH v2 2/8] qdev/qbus: remove failover specific code

2021-08-25 Thread Juan Quintela
Laurent Vivier wrote: > Commit f3a850565693 ("qdev/qbus: add hidden device support") has > introduced a generic way to hide a device but it has modified > qdev_device_add() to check a specific option of the failover device, > "failover_pair_id", before calling the generic mechanism. > > It's not n

[RFC PATCH v2 2/8] qdev/qbus: remove failover specific code

2021-08-20 Thread Laurent Vivier
Commit f3a850565693 ("qdev/qbus: add hidden device support") has introduced a generic way to hide a device but it has modified qdev_device_add() to check a specific option of the failover device, "failover_pair_id", before calling the generic mechanism. It's not needed (and not generic) to do that