diff options
author | Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp> | 2025-09-24 13:37:21 +0900 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-09-24 09:23:19 +0200 |
commit | e3ed862cabce6d8a12300b941243cb44e9cd40d1 (patch) | |
tree | 8b4f7e8f97eddf7a33c0ba9df91122f904e31b76 /scripts/lib/kdoc/kdoc_files.py | |
parent | 62e82053fc676e9493dc2c2072352634b8cd655d (diff) | |
download | qemu-e3ed862cabce6d8a12300b941243cb44e9cd40d1.zip qemu-e3ed862cabce6d8a12300b941243cb44e9cd40d1.tar.gz qemu-e3ed862cabce6d8a12300b941243cb44e9cd40d1.tar.bz2 |
vfio/pci: Do not unparent in instance_finalize()
Children are automatically unparented so manually unparenting is
unnecessary.
Worse, automatic unparenting happens before the insntance_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-2-07c6c598f53d@rsg.ci.i.u-tokyo.ac.jp
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions