What is a KVM virtual machine in Linux

Source: Internet
Author: User
Tags svm

Concept:

Kernel-based virtual Machine is an open source system virtualization module that has been integrated into various major distributions of Linux since Linux 2.6.20. It is managed using Linux's own scheduler, so its core source code is few compared to Xen. KVM has become one of the mainstream VMM in academia today.

KVM Virtualization requires hardware support (such as Intel VT Technology or AMD V technology). is hardware-based full virtualization. The early days of Xen were software-based simulations of para-virtualization, and the new version was full virtualization based on hardware support. But Xen itself has its own process scheduler, storage Management module, etc., so the code is rather large. The widely circulated business system virtualization software VMware ESX series is a software-based simulation of the full-virtualization.

Prerequisites for installing KVM:

1. Confirm that the machine has VT

Terminal input command: grep vmx/proc/cpuinfo (Intel Chip)

grep Svm/proc/cpuinfo (AMD Chip)

Do not know the chip manufacturers are input: Egrep ' (VMX|SVM) '/proc/cpuinfo

If the flags: VMX or SVM indicate support for VT, if there is no output to indicate that your CPU is not supported, the KVM virtual machine will not be successfully installed.

2. Ensure that VT is turned on in the BIOS

Intel (R) Virtualization Tech [Enabled]

If necessary, open the vt-d in the BIOS

3. Make sure the kernel version is newer, support KVM

To view the kernel version with Uname-r, upgrade the kernel if the Linux version under 2.6.20.

Summarize:

In general, a virtual machine software, you can create a new virtual machine under Linux, compared with VMware, Linux KVM technology has a native kernel support, relatively faster than VMware. If you are using the desktop version of Ubuntu/centos, then it is recommended to install the virtual machine directly with KVM, there is no need to add another layer of VMware.

Reference:

Https://baike.baidu.com/item/KVM virtual Machines

What is a KVM virtual machine in Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.