aboutsummaryrefslogtreecommitdiff
path: root/hw/core/qdev-properties-system.c
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2024-01-19 20:39:22 -0300
committerPeter Xu <peterx@redhat.com>2024-01-29 11:02:12 +0800
commit44d0d456d7c40c2f8900b958c01c1a2ef6acf302 (patch)
tree1e070e2c61878e26ed1cf5df77051ba99810f364 /hw/core/qdev-properties-system.c
parent699d9476a065881117004def5c052fbed21f862b (diff)
downloadqemu-44d0d456d7c40c2f8900b958c01c1a2ef6acf302.zip
qemu-44d0d456d7c40c2f8900b958c01c1a2ef6acf302.tar.gz
qemu-44d0d456d7c40c2f8900b958c01c1a2ef6acf302.tar.bz2
migration: Centralize BH creation and dispatch
Now that the migration state reference counting is correct, further wrap the bottom half dispatch process to avoid future issues. Move BH creation and scheduling together and wrap the dispatch with an intermediary function that will ensure we always keep the ref/unref balanced. Also move the responsibility of deleting the BH into the wrapper and remove the now unnecessary pointers. Signed-off-by: Fabiano Rosas <farosas@suse.de> Link: https://lore.kernel.org/r/20240119233922.32588-6-farosas@suse.de Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions