Skip to content

do not reset migration state on device reset (#844)#854

Merged
jlevon merged 1 commit into
nutanix:masterfrom
Hooollin:fix-migration-reset-state
May 7, 2026
Merged

do not reset migration state on device reset (#844)#854
jlevon merged 1 commit into
nutanix:masterfrom
Hooollin:fix-migration-reset-state

Conversation

@Hooollin

Copy link
Copy Markdown
Contributor

Unconditionally resetting migration state to RUNNING on device reset caused desynchronization with migration initiators(e.g. QEMU) when a reset occurred during the pre-copy phase, leading to invalid state transitions and aborted migrations.

The reset operation should only discard captured device state, not modify the active migration state machine.

@tmakatos

tmakatos commented May 5, 2026

Copy link
Copy Markdown
Collaborator

Apologies for the delay, I somehow missed the original email notification, will review this shortly.

@tmakatos

tmakatos commented May 7, 2026

Copy link
Copy Markdown
Collaborator

@Hooollin can you rebase?

Unconditionally resetting migration state to RUNNING on device reset caused
desynchronization with migration initiators(e.g. QEMU) when a reset occurred
during the pre-copy phase, leading to invalid state transitions and aborted
migrations.

The reset operation should only discard captured device state, not modify the
active migration state machine.

Signed-off-by: liuhaolin <hollinisme@gmail.com>
@Hooollin Hooollin force-pushed the fix-migration-reset-state branch from acc4616 to 0acd12d Compare May 7, 2026 09:41
@Hooollin

Hooollin commented May 7, 2026

Copy link
Copy Markdown
Contributor Author

@Hooollin can you rebase?

Done.

@jlevon jlevon merged commit 4f4fce4 into nutanix:master May 7, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants