📖 ~1 min read
Table of contents
Symptom & Impact
VM workloads run slowly because QEMU falls back to software emulation.
Environment & Reproduction
Ubuntu 24.04 LTS guest running inside another hypervisor without nested virtualization enabled.
Root Cause Analysis
CPU virtualization flags are masked or kvm_intel and kvm_amd modules are unavailable.
Quick Triage
Check egrep -c ‘(vmx|svm)’ /proc/cpuinfo and run kvm-ok.
Step-by-Step Diagnosis
Inspect lsmod, dmesg for KVM initialization, and host hypervisor nested virtualization settings.

Solution – Primary Fix
Enable nested virtualization on the parent host, load correct KVM modules, and reboot guest.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Use bare metal for performance-sensitive workloads when nested virtualization cannot be enabled.
Verification & Acceptance Criteria
kvm-ok reports acceleration usable and VM launch performance is materially improved.
Rollback Plan
Disable nested mode if host instability appears and revert affected virtual machine settings.
Prevention & Hardening
Include virtualization capability checks in provisioning scripts before installing libvirt stack.
Related Errors & Cross-Refs
libvirt permission issues and missing bridge network setup can also block VM operation.
Related tutorial: View the step-by-step tutorial for Ubuntu 24.04 LTS.
View all Ubuntu 24.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Ubuntu KVM and nested virtualization deployment references.
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.