What problem does it solve?
This skill provides a clear, repeatable approach to launching headless QEMU virtual machines with accessible serial consoles, avoiding common failures like KVM misconfiguration, port conflicts, backgrounded processes surviving shells, and unreliable boot checks.
Core Features & Use Cases
- Environment checks: Detects available tools and verifies KVM and required image files before attempting startup.
- Console and port handling: Recommends non-blocking telnet-backed serial configuration and pre-start port validation to prevent "address already in use" errors.
- Process and boot management: Describes methods to locate, terminate, and document QEMU processes, and to poll the serial console for boot readiness instead of relying on arbitrary sleeps.
- Use Case: Start a headless test VM for OS installation or automated testing where remote telnet access to the serial console and deterministic startup/teardown are required.
Quick Start
Start a headless QEMU VM from /path/to/image.iso with serial redirected to a telnet port, verify KVM and port availability, and return the VM PID and connection instructions.