Re: [PATCH v7 07/11] hw/core/qdev: update hotplug reset regarding resettable

2020-01-17 Thread Philippe Mathieu-Daudé
On 1/15/20 1:36 PM, Damien Hedde wrote: This commit make use of the resettable API to reset the device being hotplugged when it is realized. Also it ensures it is put in a reset state coherent with the parent it is plugged into. Note that there is a difference in the reset. Instead of resetting

[PATCH v7 07/11] hw/core/qdev: update hotplug reset regarding resettable

2020-01-15 Thread Damien Hedde
This commit make use of the resettable API to reset the device being hotplugged when it is realized. Also it ensures it is put in a reset state coherent with the parent it is plugged into. Note that there is a difference in the reset. Instead of resetting only the hotplugged device, we reset also