randomparity / randomparity/kdive
Add debugfs fault-injection controls for local-libvirt Systems
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 1h 26m
- Merged PRs (30d)
- 311
Description
## What to build
Add MCP tools for configuring supported in-guest debugfs fault-injection knobs on ready local-libvirt Systems. The first slice should support a small explicit allowlist such as failslab and fail_page_alloc, with readback, enable, disable, and cleanup behavior.
## Acceptance criteria
- [ ] A contributor can inspect supported fault-injection knobs and their current state for a ready System.
- [ ] A contributor can set bounded fault-injection parameters for an allowlisted knob.
- [ ] A contributor can disable or reset a configured knob.
- [ ] Missing debugfs/fault-injection kernel support returns configuration_error with remediation.
- [ ] Tests cover supported knob configuration, invalid knob rejection, reset behavior, missing support, and RBAC denial.
## Blocked by
None - can start immediately.
Contributor guide
Research direction
Start by locating the MCP tool entry points for ready local-libvirt Systems and the existing RBAC and configuration-error handling. Trace how in-guest debugfs access is checked, then cover the explicit failslab and fail_page_alloc allowlist with readback, bounded settings, disable/reset behavior, missing-support remediation, and the listed tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- backend, operating-systems, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100