📖 ~1 min read
Table of contents
Symptom & Impact
Virtual machines fail to start, interrupting development and service workloads.
Environment & Reproduction
Seen after host reboots, kernel updates, or package changes.
virsh list --all
systemctl status libvirtd
lsmod | grep kvm
Root Cause Analysis
libvirt disabled, missing KVM modules, or permission/bridge issues block VM startup.
Quick Triage
Confirm service state, module loading, and bridge networking.
systemctl --failed
lsmod | grep -E 'kvm|vhost'
ip -br a
Step-by-Step Diagnosis
Inspect logs for domain launch and hypervisor errors.
journalctl -u libvirtd -n 120 --no-pager
virsh net-list --all
grep -RIn "libvirt|qemu|kvm" /var/log 2>/dev/null | tail -n 30

Solution – Primary Fix
Enable virtualization services and reload required modules.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
sudo modprobe kvm || true
sudo systemctl enable --now libvirtd
sudo systemctl restart libvirtd
virsh list --all

Solution – Alternative Approaches
Reinstall core virtualization packages when binaries are inconsistent.
sudo apt install --reinstall -y qemu-kvm libvirt-daemon-system virtinst
sudo systemctl restart libvirtd
virsh capabilities
Verification & Acceptance Criteria
Guest starts and reports running status without hypervisor errors.
virsh start
virsh domstate
virsh list --all
Rollback Plan
Revert service changes and restore previous network XML if required.
sudo systemctl disable --now libvirtd
virsh net-dumpxml default > /var/tmp/default-net.xml
virsh list --all
Prevention & Hardening
Add post-reboot checks for libvirt and KVM module availability.
systemctl is-enabled libvirtd
lsmod | grep kvm
virsh list --all
Related Errors & Cross-Refs
May overlap with nested virtualization disabled at hypervisor level.
Related tutorial: View the step-by-step tutorial for Debian 12.
View all Debian 12 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Debian KVM and libvirt administration documentation.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.