Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion criu/cr-restore.c
Original file line number Diff line number Diff line change
Expand Up @@ -1820,7 +1820,7 @@ static int restore_rseq_cs(void)
static int catch_tasks(bool root_seized)
{
struct pstree_item *item;
bool nobp = fault_injected(FI_NO_BREAKPOINTS) || !kdat.has_breakpoints;
bool nobp = true; /* Always disable breakpoints on the restore path */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls add a command line flag to disable it optionaly

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot pls add a command line flag to disable it optionaly

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the --enable-restore-breakpoints command line flag as requested. By default, breakpoints remain disabled on restore for reliability (maintaining current behavior). When the flag is provided, the restore operation will use the original logic that respects hardware capabilities and fault injection settings. Commit c4c90e4


for_each_pstree_item(item) {
int status, i, ret;
Expand Down
Loading