summary refs log tree commit diff stats
path: root/include/hw/timer/mss-timer.h
diff options
context:
space:
mode:
authorAkihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>2025-09-24 13:37:22 +0900
committerPaolo Bonzini <pbonzini@redhat.com>2025-09-24 09:23:20 +0200
commitf9ce08489424905ae4a70218fa35013fe88d54ed (patch)
tree03334b6a6dc9246909e2e72b4a2171a193b273fd /include/hw/timer/mss-timer.h
parente3ed862cabce6d8a12300b941243cb44e9cd40d1 (diff)
downloadfocaccia-qemu-f9ce08489424905ae4a70218fa35013fe88d54ed.tar.gz
focaccia-qemu-f9ce08489424905ae4a70218fa35013fe88d54ed.zip
hw/core/register: 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-3-07c6c598f53d@rsg.ci.i.u-tokyo.ac.jp
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/timer/mss-timer.h')
0 files changed, 0 insertions, 0 deletions