Re: [PATCH] hw/ide/microdrive: Use device_cold_reset() for self-resets

2022-10-17 Thread Philippe Mathieu-Daudé
On 13/10/22 19:40, Peter Maydell wrote: Currently the microdrive code uses device_legacy_reset() to reset itself, and has its reset method call reset on the IDE bus as the last thing it does. Switch to using device_cold_reset(). The only concrete microdrive device is the TYPE_DSCM1; it is n

[PATCH] hw/ide/microdrive: Use device_cold_reset() for self-resets

2022-10-13 Thread Peter Maydell
Currently the microdrive code uses device_legacy_reset() to reset itself, and has its reset method call reset on the IDE bus as the last thing it does. Switch to using device_cold_reset(). The only concrete microdrive device is the TYPE_DSCM1; it is not command-line pluggable, so it is used o