Add KVM support for CI testing#7
Open
JayAndJef wants to merge 1 commit into
Open
Conversation
- Document all KVM CI solutions in docs/CI_KVM_SETUP.md - Update README with testing requirements and CI information - Prepare for KVM-enabled CI workflows This addresses the issue where kernel tests requiring x2apic support cannot run on GitHub's hosted runners due to lack of KVM acceleration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
GitHub's hosted runners do not support nested virtualization or KVM acceleration. Our kernel tests require:
-enable-kvm)-cpu host,+x2apic)-machine q35,accel=kvm)Software emulation cannot provide x2apic support, so we need actual KVM acceleration.
Solution
This PR implements comprehensive documentation and preparation for KVM-dependent CI testing:
📚 Documentation Added
docs/CI_KVM_SETUP.md: Complete guide covering all KVM CI solutionsREADME.md: Testing requirements and CI information🎯 Recommended Solutions Documented
Actuated Runners (Primary recommendation)
Self-Hosted Runners (Alternative)
Manual Testing Workflows (For verification)
Changes in This PR
docs/CI_KVM_SETUP.md: Detailed documentation of all KVM CI solutionsREADME.md: Updated with testing requirements and CI informationWorkflow Files (To Be Added Separately)
Due to GitHub workflow permissions, the actual workflow files will need to be added in a follow-up commit:
Next Steps
Benefits
✅ Comprehensive documentation for all KVM CI options
✅ Clear setup instructions for each solution
✅ Security considerations and recommendations
✅ Preparation for automated x2apic-dependent kernel testing
✅ Multiple solution paths to fit different needs
This PR lays the groundwork for solving the KVM CI testing challenge while providing flexibility in implementation approach.
Pull Request opened by Augment Code with guidance from the PR author