qemu-cr16/hw/hyperv
Akihiko Odaki 15d9138542 hv-balloon: 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-4-07c6c598f53d@rsg.ci.i.u-tokyo.ac.jp
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-09-24 09:23:20 +02:00
..
hv-balloon-internal.h hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-our_range_memslots.c hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-our_range_memslots.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
hv-balloon-page_range_tree.c hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-page_range_tree.h hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-stub.c qapi: Add HV_BALLOON_STATUS_REPORT event and its QMP query command 2023-11-06 14:08:10 +01:00
hv-balloon.c hv-balloon: hw/core/register: Do not unparent in instance_finalize() 2025-09-24 09:23:20 +02:00
hyperv.c hw/hyperv/hyperv: common compilation unit 2025-05-08 14:22:12 +02:00
hyperv_testdev.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
Kconfig Add Hyper-V Dynamic Memory Protocol driver (hv-balloon) base 2023-11-06 14:08:10 +01:00
meson.build hw/hyperv/hyperv: common compilation unit 2025-05-08 14:22:12 +02:00
syndbg.c util: drop qemu_socket_set_nonblock() 2025-09-19 12:46:07 +01:00
trace-events Add Hyper-V Dynamic Memory Protocol driver (hv-balloon) hot-add support 2023-11-06 14:08:10 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vmbus.c hw/hyperv/vmbus: common compilation unit 2025-05-08 14:22:12 +02:00