aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2025-01-14 18:07:35 -0500
committerFabiano Rosas <farosas@suse.de>2025-01-29 11:56:40 -0300
commit48221286937e6453524c6fe96dc6f74368c6fb1c (patch)
treebc476d930f2aa916a8b2e152971b09b4d56e0bd0 /scripts
parent812145fcf7a6d290b69383dc5f25ed00360639d8 (diff)
downloadqemu-48221286937e6453524c6fe96dc6f74368c6fb1c.zip
qemu-48221286937e6453524c6fe96dc6f74368c6fb1c.tar.gz
qemu-48221286937e6453524c6fe96dc6f74368c6fb1c.tar.bz2
migration: Drop inactivate_disk param in qemu_savevm_state_complete*
This parameter is only used by one caller, which is the genuine precopy complete path (migration_completion_precopy). The parameter was introduced in a1fbe750fd ("migration: Fix race of image locking between src and dst") to make sure the inactivate will happen before EOF to make sure dest will always be able to activate the disk properly. However there's no limitation on how early we inactivate the disk. For precopy completion path, we can always do that as long as VM is stopped. Move the disk inactivate there, then we can remove this inactivate_disk parameter in the whole call stack, because all the rest users pass in false always. 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-6-peterx@redhat.com Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions