aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/qemu_test/linuxkernel.py
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-09-13 15:31:45 +0100
committerPeter Maydell <peter.maydell@linaro.org>2024-09-13 15:31:45 +0100
commit5fdb6cd27211eff4d5b607972ac1d1d02688e905 (patch)
tree8b8567abc82ad6ccbcea049717425d6c0e649714 /tests/functional/qemu_test/linuxkernel.py
parentb5fe9bf296ea5604a16f6dfb4777bfce56cd48c0 (diff)
downloadqemu-5fdb6cd27211eff4d5b607972ac1d1d02688e905.zip
qemu-5fdb6cd27211eff4d5b607972ac1d1d02688e905.tar.gz
qemu-5fdb6cd27211eff4d5b607972ac1d1d02688e905.tar.bz2
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 'tests/functional/qemu_test/linuxkernel.py')
0 files changed, 0 insertions, 0 deletions