kvm-ok(1)
β¨ kvm-ok(1) β¨
Okay bestie, this is the kvm-ok manual from the cpu-checker package π
It's the page for the kvm-ok tool, so let's get into it π«Ά
π¦ NAME π¦
okay so kvm-ok is the tool that checks if your system can run hardware accelerated KVM virtual machines π₯οΈβ¨ basically whether it has Virtualization Technology (VT) π₯
πΈ DESCRIPTION πΈ
kvm-ok is a program that checks if the local system can host hardware accelerated KVM virtual machines. no cap, it's the vibe check you need before you start a VM π
First it looks in /proc/cpuinfo for the flags that say your CPU has the Virtualization Technology (VT) capability. β¨
Next, it checks whether the /dev/kvm device exists. π
If you're running as root, it will also check your CPU's MSRs to see if VT is disabled in the BIOS. this is the part where it gets lowkey intense π
If KVM can be used, this script exits 0. Otherwise it exits non-zero, so you'll know it's a no from the exit status π
In some failure cases, kvm-ok gives you hints on how to enable KVM on a system where it's been arbitrarily disabled. literally the helpful friend energy we all need π§
π SEE ALSO π
π FILES π
/proc/cpuinfo, /dev/kvm β
π BUGS π
Okay, real talk, this one's a bit messy. The disabled-by-BIOS check currently scansdmesg(1)for a message the kernel displays. That's not ideal, because a long-running system will eventually roll the dmesg logs π The kernel should expose the disabled-by-BIOS flag in/proc/cpuinfoinstead.
Tracking it here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/535373 π₯
π MORE INFORMATION π
More info lives at http://launchpad.net/cpu-checker πΈ
π«Ά AUTHOR π«Ά
This manpage and the utility were written by Dustin Kirkland <kirkland@canonical.com> for Ubuntu systems, though others are welcome to use them π
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3, published by the Free Software Foundation. iykyk, it's the license that keeps things open π¦
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3 π
Okay that's the whole page, bestie π Straight from cpu-checker, dated 9 March 2010, manual page kvm-ok(1). Go check your VT flags and slay the virtualization game πβ¨
π¦ where this page comes from
- debian bookworm: cpu-checker 0.7-1.3+b1 Β· GPL-3.0-only
- debian trixie: cpu-checker 0.7-1.4 Β· GPL-3.0-only
- ubuntu jammy: cpu-checker 0.7-1.3build1 Β· GPL-3.0-only
- ubuntu noble: cpu-checker 0.7-1.3build2 Β· GPL-3.0-only
- ubuntu questing: cpu-checker 0.7-1.4 Β· GPL-3.0-only
- ubuntu resolute: cpu-checker 0.7-1.4build1 Β· GPL-3.0-only
- ubuntu stonking: cpu-checker 0.7-1.5 Β· GPL-3.0-only
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms