Re: [PATCH for-9.2 07/10] hw: Define new device_class_set_legacy_reset()

2024-08-26 Thread Philippe Mathieu-Daudé
On 13/8/24 18:52, Peter Maydell wrote: Define a device_class_set_legacy_reset() function which sets the DeviceClass::reset field. This serves two purposes: * it makes it clearer to the person writing code that DeviceClass::reset is now legacy and they should look for the new alternative

Re: [PATCH for-9.2 07/10] hw: Define new device_class_set_legacy_reset()

2024-08-13 Thread Richard Henderson
On 8/14/24 02:52, Peter Maydell wrote: Define a device_class_set_legacy_reset() function which sets theDeviceClass::reset field. This serves two purposes: * it makes it clearer to the person writing code that DeviceClass::reset is now legacy and they should look for the new alternative

[PATCH for-9.2 07/10] hw: Define new device_class_set_legacy_reset()

2024-08-13 Thread Peter Maydell
Define a device_class_set_legacy_reset() function which sets the DeviceClass::reset field. This serves two purposes: * it makes it clearer to the person writing code that DeviceClass::reset is now legacy and they should look for the new alternative (which is Resettable) * it makes it easier