Introduction to a KVM virtual machine
KVM is the abbreviation for kernel-based Virtual machine and has become one of the mainstream VMM in academia. KVM Virtualization requires hardware support (such as Intel VT Technology or AMD V technology)
is hardware-based full virtualization. KVM is easy and easy to install and use, and powerful for virtualization deployments in cloud environments that are suitable for high-performance computing services as IaaS tiers
It has to be mentioned that Oracle's VirtualBox is also strong, with KVM being comparable to each other, but it is rarely used in a more expensive, common cloud computing platform. As for full virtualization and para-virtualization I think this is a very vague concept.
KVM provides a management interface for the image interface (Virtual Machine Manager) and a command-line management interface (Virsh). Depending on the scenario you use, you can also use the Libvirt library to manage virtual machines.
And the management of virtual machines using the Libvirt library is an industry-respected practice, thanks to the good portability and powerful API of the Libvirt library, and the availability of multiple language interfaces (e.g. C, Python, Java, C # and PHP)
Management of multiple types of virtual machines such as XEN,KVM and QEMU. For details, please refer to the official website: http://libvirt.org/.
Two-install KVM virtual machine management software/modules (all of the following are done in the host OS CentOS6.3)
(1), first check whether the physical machine (mainly CPU) support virtual machine technology.
[Email protected]5201351cat /proc/cpuinfo | grep " VMX\|SVM " // the output is not empty, which means that KVM virtual technology is supported
(2), installation of KVM before the installation of desktop environment, as for Linux system desktop installation can refer to the author of another article "Linux under the GNOME desktop environment installation"
(3), the dependencies and packages required to install a KVM virtual machine can be installed as follows.
[Email protected]5201351yum groupinstall virt*-y[[email protected]5201351 YumInstall qemu*-y // includes qemu-guest-agent and Qemu-kvm-tools
In fact, the first virt* software group, including 4 software groups:
(3), Start LIBVIRTD service
[[email protected]5201351 ~]#/etc/init.d/libvirtd start // start LIBVIRTD service
It is important to note that if the CPU does not turn on virtualization technology or does not install Qemu-guest-agent and Qemu-kvm-tools, the following error may be reported in the KVM Graphics management interface:
Error polling connection ' Qemu:///system ': Internal error cannot find suitable emulator for x86_64
Respect for the work of others reproduced please be sure to indicate the source: http://www.cnblogs.com/5201351/p/4440147.html
Installation of KVM virtual machine under Linux system