Editing
KVM
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== '''Introduction''' == <br /> Kernel-based Virtual Machine (KVM), is a hypervisor built into the Linux kernel. KVM can run a wide range of GNU/Linux, Windows and other operating systems. For more information check out [http://www.linux-kvm.org/page/Guest_Support_Status Guest Support Status]. KVM is similar to Xen with couple of important differences. First, since KVM is part of the Linux kernel it uses the regular Linux scheduler and memory management, resulting in it being smaller and more featureful. On the other hand, KVM relies on a processor that supports x86 hardware virtual machine (HVM) CPU extensions, whereas Xen allows running modified operating systems on non-HVM x86 processors using paravirtualization. HVM is also referred to as hardware-assisted virtualization or native virtualization. <br /> <br /> == '''Check for KVM Support''' == <br /> '''''NOTE:''''' Before proceeding you should ensure that virtualization is enabled in your BIOS. This process will vary slightly depending on your system. Refer to your system documentation or perform a web search for specific steps on enabling virtualization in your system BIOS. <br /> <br/> As mentioned previously, KVM requires the virtual machine (VM) host processor has hardware virtualization support. For Intel processors, this is VT-x, and AMD-V for AMD. Two methods can be used to verify this capability. The first is with the <code>lscpu</code> command. <br /> <br /> <code>$ lscpu </code> <br /> <br /> If your machine supports hardware virtualization it will be identified in the output. Since <code>lscpu</code> gathers information from sysfs and <code>/proc/cpuinfo</code>, another approach is to grep the <code>/proc/cpuinfo</code> file as follows <br /> <br /> <code>$egrep 'vmx|svm|0xc0f' /proc/cpuinfo</code> <br /> <br /> If nothing is displayed then your CPU does not support hardware virtualization. <br /> <br /> == '''Host Setup''' == <br /> <br /> <br /> == '''Guest Setup''' == <br /> [[Category:Hypervisors]] {{Wikimedia-stub}} [[Category:Hypervisors]] {{Wikimedia-stub}}
Summary:
Please note that all contributions to Project Homelab may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project Homelab:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Wikimedia-stub
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
About the Project
Get Involved!
Brainstorming
Wiki HOWTO
Article Template
Disclaimer
Recent changes
Random page
Help
Content
Requirements
Homelab Categories
Building a Homelab
Managing a Homelab
Securing a Homelab
Keep It Simple Stupid
HOWTO Articles
Decision Trees
The Unofficial HCL
Jargon Buster
Homelab Horror Stories
Free Learning Resources
Tools
What links here
Related changes
Special pages
Page information
[[File:nodespace-selfhosted-234x60-1.png|link=http://www.nodespace.com]]