Detailed procedures for installing a KVM virtual machine after reloading Linux

Source: Internet
Author: User
Tags svm amd processors

Reference: Http://wenku.baidu.com/link?url=xAObzE8XuDfGJsCDk6vAnVnp91glt_bgvK6saMC4WS2BX7_ Du54ovido0uth0ipekovsfsuqsas62ruunvfvokgl5p6k3omznnmomgaposs

Summarize:
1.KVM kernel Modules
2.QEMU virtualization software: In user space, the CPU of virtual power can be on x86
3.QEMU-KVM: The user space tool that can control the kernel module, the user cannot go directly to the KVM inside the kernel, so rely on this QEMU-KVM tool, can create and manage the virtual machine
4.virt-manager: Libvirt-based graphical session virtual machine management software
5.libvirt: API that provides multiple language interfaces, not only supports KVM but also supports Xen
6.virsh: Use Virt-manager disadvantage is graphical management, waste memory resources, unsafe, so try to use Virsh to manage


System Requirements:
Processor requirements: Requires one by one Intel processors (including VT virtualization) or AMD processors (including SVM-safe virtual machine technology) that can run the Linux kernel

[Email protected] ~]# egrep "(VMX|SVM)" Color=always/proc/cpuinfo
If the output contains VMX, he is the hallmark of Intel processor virtual machine technology;
If the result contains SVM, he is the hallmark of AMD processor virtual machine technology;
If there is nothing, then your system does not support virtualization processing, can not use KVM;
In addition, the Linux discovery version must be in a 64-bit environment to use KVM

2. Installing the Software
KVM Module, management tool Virt-manager,libvirt (a tool that can be used to see virtual machines)

[email protected] ~]# Yum install-y KVM Virt-manager libvirt

[Email protected] ~]#/sbin/service LIBVIRTD start
Starting LIBVIRTD daemon: [OK]

3. Determine the correct loading of the KVM module

Run Command Lsmod | grep KVM checks that the KVM module is installed successfully. If the result is similar to the following output, then the KVM module has been successfully installed:

# Lsmod | grep KVM

KVM_AMD 69416 1

KVM 226208 2 KSM,KVM_AMD

4 Check if KVM is installed successfully

Virsh-c Qemu:///system List

5.
[email protected] desktop]# Yum install-y qemu\*

6.
[Email protected] desktop]#/ETC/INIT.D/LIBVIRTD restart

This article from "8176010" blog, declined reprint!

Detailed procedures for installing a KVM virtual machine after reloading Linux

Related Article

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.