File: kvm-ok.1

package info (click to toggle)
cpu-checker 0.7-1.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 29,948 kB
  • sloc: sh: 307; python: 54; makefile: 20
file content (37 lines) | stat: -rw-r--r-- 1,797 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.TH kvm-ok 1 "9 March 2010" cpu-checker "cpu-checker"
.SH NAME
\fBkvm\-ok\fP \- determine if this system is capable of running hardware accelerated KVM virtual machines (ie, possesses Virtualization Technology)

.SH DESCRIPTION
\fBkvm\-ok\fP is a program that will determine if the locate system can host hardware accelerated KVM virtual machines.

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

Next, it will check if the \fI/dev/kvm\fP device exists.

If running as root, it will check your CPU's MSRs to see if VT is disabled in the BIOS.

In some failure cases, \fBkvm-ok\fP 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.

.SH SEE ALSO
\fBkvm\fP(1), \fBdmesg\fP(1)

.SH FILES
\fI/proc/cpuinfo\fP, \fI/dev/kvm\fP

.SH BUGS

The disabled-by-bios check currently scans \fBdmesg\fP(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 \fI/proc/cpuinfo\fP.

\fIhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/535373\fP

.SH MORE INFORMATION
\fIhttp://launchpad.net/cpu-checker\fP
.PD

.SH AUTHOR
This manpage and the utility was written by Dustin Kirkland <kirkland@canonical.com> 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.