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