In the business context and when using professional servers, virtualization is already essential. Thanks to this technology, several guest operating systems can be run on the same physical computer, which has many advantages, including the following:
While it is rare to find Linux, the open source operating system, on desktops and home computers, in the server realm, it has long been widespread. In the same way, it has also acquired a very important role as a basis for virtualization strategies..
The so-called Kernel-based Virtual Machine (KVM) was introduced by the Qumranet company in 2000 and at the beginning of 2007 it had already been included in the Linux kernel 2.6.20. The following year, RedHat, a Linux distributor, acquired Qumranet. In order to continue developing this technology, RedHat founded, together with IBM, the Open Virtualization Alliance (OVA) project, in which companies such as Suse, Intel and HP participated.
KVM is closely related to QEMU emulation software . The latter typically offers hardware virtualization features , while Linux KVM handles resource allocation to guest systems. Therefore, it is common to come across the term KVM / QEMU as well. Since KVM is an essential component of Linux , it cannot be integrated into Windows devices. However, Windows can be run through the virtualization solution, as can most Unix systems, such as Linux, Solaris, and BSD. KVM is included by default in most Linux distributions, but it must be activated first..
To understand how this virtual machine works, it is necessary to first understand virtualization. Virtualization is the execution of one or more complete operating systems (guest systems) on the same host device ( host ) . The host computer then requires additional hardware services : these can either be emulated by software , or they can be located on other physical devices and controlled by a hypervisor, that is, a management and translation layer between the real and virtual hardware. . Depending on the type of virtualization, it may be necessary to translate the requirements to the actual hardware or it may be enough to assign the necessary actions, such as a computation in the processor.
There are the following types of virtualization:
In addition, there are two types of hypervisors:
Linux KVM belongs to the second type of monitor and uses hardware- assisted paravirtualization . What makes it special, however, is that it is built directly into the kernel ..
Kernel is the English term equivalent to kernel : we are talking, therefore, of the kernel of an operating system , in which the basic functions of the system are integrated, such as, for example, access to hardware and the allocation of computing time to processors in a multitasking system . Access to the kernel is specially protected ( kernel mode ) and the requests that reach it receive privileged treatment by the processors.
Due to its direct link with the kernel, it is debated whether this system would even have the characteristics of the first type of hypervisors.
The KVM as a whole is made up of several elements:
The Kernel-based Virtual Machine is used especially frequently when operating with dedicated professional servers . In 2017, a security study conducted by the German Federal Office for Information Security (BSI) defined KVM as the most important virtualization solution in the field of open source or open source tools .
In addition, Linux KVM has additional relevance because it can be integrated as a hypervisor in the popular OpenStack cloud software service.
Finally, we briefly present some advantages and disadvantages of this virtualization tool.
Advantages :
Disadvantages :
In the field of the software open source and with similar functions, XEN is the most important alternative. It is a virtualization tool that is also closely related to Linux, but does not integrate into the kernel .
For its part, in the commercial market, the consolidated manufacturer VMWare offers alternatives for paravirtualization with its ESXi servers and full virtualization with its workstation . Additionally, VMWare Player is free for home users.
Virtualbox is another full virtualization alternative that can be used on all common operating systems.
Microsoft also has a paravirtualization tool for Windows: the Hyper-V system, which works in a similar way to Linux KVM. It has a dedicated Windows Hyper-V server and works seamlessly with the server operating systems. Hiper-V is also included in Windows 10 Professional and Enterprise versions.
Flexibility and scalability are two indisputable arguments in favor of virtualization. Guest operating systems can thus be maintained without consuming many resources and run for specific purposes. If, in addition, systems are backed up to other physical media on a regular basis, the risk of loss in the event of a failure practically disappears.
If you run Linux on your server, you have little reason not to consider at least KVM. Its integration into the core of the system and the prestige enjoyed by its developers are very good reasons to decide to use this tool.