diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2024-09-13 15:31:45 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2024-09-13 15:31:45 +0100 |
| commit | 5fdb6cd27211eff4d5b607972ac1d1d02688e905 (patch) | |
| tree | 8b8567abc82ad6ccbcea049717425d6c0e649714 /python/qemu/utils/qemu_ga_client.py | |
| parent | b5fe9bf296ea5604a16f6dfb4777bfce56cd48c0 (diff) | |
| download | focaccia-qemu-5fdb6cd27211eff4d5b607972ac1d1d02688e905.tar.gz focaccia-qemu-5fdb6cd27211eff4d5b607972ac1d1d02688e905.zip | |
hw/core/qdev: Simplify legacy_reset handling
Now that all devices which still implement a the legacy reset method register it via device_class_legacy_reset(), we can simplify the handling of these devices. Instead of using the complex Resettable::get_transitional_function machinery, we register a hold phase method which invokes the DeviceClass::legacy_reset method. This will allow us to remove all the get_transitional_function handling from resettable.c. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20240830145812.1967042-11-peter.maydell@linaro.org
Diffstat (limited to 'python/qemu/utils/qemu_ga_client.py')
0 files changed, 0 insertions, 0 deletions