mohitmishra786/low-level-dev-skills/qemu-for-kernel-development
Claude Code and agent skill by mohitmishra786/low-level-dev-skills
- community
Checking that the SKILL.md file is still in the repository.
QEMU kernel development skill for driver and kernel testing. Use when booting custom kernels in QEMU, Buildroot/Yocto rootfs, virtio devices, or NFS root for driver iteration. Activates on queries about QEMU kernel dev, Buildroot QEMU, virtio block, kernel module test QEMU, or -append root=
Install
npx vskill@latest install mohitmishra786/low-level-dev-skills/qemu-for-kernel-developmentSKILL.md
QEMU for Kernel Development
Purpose
Guide agents through QEMU-based kernel and driver development workflows: building/booting custom kernels, attaching virtio block/network, using Buildroot or minimal initramfs, and rapid module test cycles — focused on kernel dev vs general skills/virtualization/qemu-kvm.
When to Use
- Test kernel patch without bare metal
- Develop driver against virtio or emulated DT platform
- CI kernel boot smoke test
- NFS or 9p root for fast edit-compile-test
Workflow
1. Minimal direct kernel boot (arm64 virt)
x86_64:
2. Buildroot rootfs loop
Integrate custom kernel: set BR2_LINUX_KERNEL_CUSTOM_VERSION or external tree.
3. Out-of-tree module test
Share tree with 9p:
4. GDB stub for kernel
Use CONFIG_KGDB for live kernel debugging after boot.
5. Device tree overrides
virt machine provides virtio devices; platform drivers can target QEMU -device models.
6. Agent usage
Common Problems
| Symptom | Cause | Fix | |
|---|---|---|---|
| Kernel panic no root | Wrong root= | root=/dev/vda for virtio blk | |
| No console output | Missing console= on cmdline | console=ttyAMA0 / ttyS0 | |
| Module vermagic error | Built against wrong tree | Same KERNEL_SRC as booted image | |
| Slow without KVM | TCG emulation | -enable-kvm on x86 host | |
| DTB mismatch | Wrong machine | Use virt DTB from kernel make dtbs |
Related Skills
skills/virtualization/qemu-kvm— KVM, VFIO, libvirtskills/qemu/qemu-embedded-simulation— bare-metal MCU QEMUskills/kernel/kernel-testing— KUnit, kselftestskills/kernel-dev/device-tree— DT for virt/platformskills/debuggers/gdb— remote GDB basics
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/kernel-dev/qemu-for-kernel-development/SKILL.md
Popularity
- Repository stars
- 237
- Repository forks
- 28
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mohitmishra786/low-level-dev-skills/qemu-for-kernel-development)