Prompt file imported from bengeek06/virtrtlab (
.github/prompts/kernel-change.prompt.md). Copyright stays with the author.
Read the relevant contract first in README.md and the matching docs under docs/.
Then:
- Read the affected kernel sources and build context before editing.
- Make the smallest correct change that fixes the root cause.
- Preserve Linux kernel coding style and current VirtRTLab naming rules.
- Run
make check,make qa-kernel-lint, andpython3 -m pytest -c pytest.ini tests/kernel. - Before any PR, run
python3 -m pytest -c pytest.ini tests/cli,python3 -m pytest -c pytest.ini tests/daemon,python3 -m pytest -c pytest.ini tests/kernel, andpython3 -m pytest -c pytest.ini tests/install. - Summarize the behavioral change, validation, and residual risks.
If the contract is unclear or incomplete, stop and request a spec update before implementation.