randomparity / randomparity/kdive

Add NMI Injection Support

Open
#1,257 1 comment 0 reactions 0 assignees View on GitHub
area:control-retrieve effort:M priority:P3 provider:fault-inject risk:daytime-only status:ready type:feature
Dominant language
Python
Stars
0
Forks
0
Avg merge
1h 26m
Merged PRs (30d)
311

Description

control.inject_nmi. diagnostic_sysrq covers soft hangs, but a hard-locked CPU with interrupts disabled ignores sysrq. virsh inject-nmi (paired with in-guest unknown_nmi_panic) converts a hard lockup into a backtrace or a panic→vmcore, feeding the existing postmortem pipeline. Natural sibling of the existing control.* tools, same destructive-op gating question as force_crash.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing control.* tools, especially diagnostic_sysrq and force_crash, and trace how they feed the postmortem pipeline. Compare the virsh inject-nmi behavior with the existing destructive-operation gating; done means NMI injection is exposed through control.inject_nmi and supports the unknown_nmi_panic backtrace or vmcore flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.