diff options
| author | Peter Xu <peterx@redhat.com> | 2025-01-14 18:07:39 -0500 |
|---|---|---|
| committer | Fabiano Rosas <farosas@suse.de> | 2025-01-29 11:56:41 -0300 |
| commit | ec611bd731af7dce318fffc96f57c46e62fb7e16 (patch) | |
| tree | af35ccab03fc1e14d8bef8d66f0ed22764102fe7 /qapi/qobject-output-visitor.c | |
| parent | 1f9b657cae637ec657aa92a5d7616581ada70672 (diff) | |
| download | focaccia-qemu-ec611bd731af7dce318fffc96f57c46e62fb7e16.tar.gz focaccia-qemu-ec611bd731af7dce318fffc96f57c46e62fb7e16.zip | |
migration: Drop cached migration state in migration_maybe_pause()
I can't see why we must cache the state now after we avoided possible CANCEL race: that's the only thing I can think of that can modify the migration state concurrently with the migration thread itself. Make all the state updates to happen always, then we don't need to cache the state anymore. Signed-off-by: Peter Xu <peterx@redhat.com> Tested-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Juraj Marcin <jmarcin@redhat.com> Link: https://lore.kernel.org/r/20250114230746.3268797-10-peterx@redhat.com Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'qapi/qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions