Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Version: 336875 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)


kvm-ok - determine if this system is capable of running hardware accelerated KVM virtual machines (ie, possesses Virtualization Technology)


kvm-ok is a program that will determine if the locate system can host hardware accelerated KVM virtual machines.

The program will first determine if /proc/cpuinfo contains the flags indicating that the CPU has the Virtualization Technology (VT) capability.

Next, it will scan your dmesg(1) log to see if your kernel has detected that VT is disabled in the BIOS.

Finally, it will check if the /dev/kvm device exists.

In some failure cases, kvm-ok provides hints on how you might go about enabling KVM on a system where it is arbitrarily disabled.

If KVM can be used, this script will exit 0, otherwise it will exit non-zero.


kvm(1), dmesg(1)


/proc/cpuinfo, /dev/kvm


The disabled-by-bios check currently scans dmesg(1) for a message displayed by the kernel. This is not ideal, in that a long-running system will eventually roll the dmesg logs. The kernel should expose the disabled-by-bios flag in /proc/cpuinfo.



This manpage and the utility was written by Dustin Kirkland <> for Ubuntu systems (but may be used by others). 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.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3.

Offrir l'amitié à qui veut l'amour, c'est donner du pain à qui meurt de
-+- Proverbe espagnol -+-