diff options
author | Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp> | 2025-09-24 13:37:24 +0900 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-09-24 09:23:20 +0200 |
commit | 0c6d897e38f5a6a864d6ae6dc42f521b84011107 (patch) | |
tree | b580aeab67a8de66bc19b65704858f25407a0bf1 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 15d91385422eb42321f49144554439c52b18953a (diff) | |
download | qemu-0c6d897e38f5a6a864d6ae6dc42f521b84011107.zip qemu-0c6d897e38f5a6a864d6ae6dc42f521b84011107.tar.gz qemu-0c6d897e38f5a6a864d6ae6dc42f521b84011107.tar.bz2 |
hw/sd/sdhci: Do not unparent in instance_finalize()
Children are automatically unparented so manually unparenting is
unnecessary.
Worse, automatic unparenting happens before the instance_finalize()
callback of the parent gets called, so object_unparent() calls in
the callback will refer to objects that are already unparented, which
is semantically incorrect.
Signed-off-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Link: https://lore.kernel.org/r/20250924-use-v4-5-07c6c598f53d@rsg.ci.i.u-tokyo.ac.jp
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions