First of all, what is KVM? KVM refers to a Linux kernel-based virtual machine (kernel-base). Virtualization is mentioned here. Virtualization is the foundation of cloud computing, which allows us to run multiple virtual machines on a single physical server. Each virtual machine shares the physical machine's CPU, memory, IO hardware and other resources. However, they are logically isolated from each other.
So, how does a physical machine make hardware resources available to virtual machines? Mainly through the hypervisor to achieve. Depending on where the hypervisor is located, virtualization can be divided into two categories. One is that the hypervisor is installed directly on the physical machine, and then the virtual machine runs on the hypervisor. Both Xen and VMware ESXi belong to this type. The other is to install the operating system on the physical machine, then hypervisor as a module on the operating system and manage the virtual machine. KVM, Vbox, and VMware workstation all belong to this type.
In general, the first virtualization type performs better because it optimizes the hardware virtualization functionality. The second type of virtualization is more flexible, such as supporting virtual machine nesting, which allows KVM to be run in KVM.
This article from the "Little Flash" blog, declined to reprint!
Installing KVM under centos6.7