> Warning: KVM is not available. This may mean the KVM package is not installed, or the KVM kernel modules are not loaded. Your virtual machines may perform poorly.
How to solve this issue?
Aug 12, 1:33am
The warning you're encountering on your Scaleway Debian 13 ARM STANDARD2-A2C-8G instance indicates that KVM (Kernel-based Virtual Machine) is not available. This can happen for several reasons, especially on ARM-based instances. Here’s how to diagnose and resolve the issue:
1. Check if KVM is Supported on Your Instance
Scaleway's ARM-based instances (e.g., STANDARD2-A2C-8G) do not support KVM acceleration. KVM is typically available on x86_64 architectures, but ARM64 (aarch64) instances often rely on TCG (Tiny Code Generator) for emulation, which is slower.
To confirm your architecture, run:
bash
uname -m
If it returns aarch64, your instance is ARM-based and KVM will not work.
2. Verify KVM Module Availability
Even if KVM is not supported, you can check if the kernel modules are loaded:
bash
lsmod | grep kvm
If no output is returned, KVM modules are not loaded (expected on ARM).
To check if KVM is available in the kernel:
bash
grep -E 'kvm|KVM' /proc/cpuinfo
On ARM, this will likely return nothing.
3. Install QEMU with TCG (Fallback)
Since KVM is unavailable, QEMU will automatically fall back to TCG emulation, which is slower but functional. Ensure QEMU and libvirt are installed: