Understanding Kernel-based Virtual Machine for Linux

Kernel-based Virtual Machine (KVM) is a full virtualization solution for Linux on x86 hardware. It consists of a loadable kernel module called kvm.ko and a userspace component, both open source software. The kernel component of KVM is included in mainline Linux, and will appear in upcoming Linux 2.6.20.

ADVERTISEMENTS

KVM allows one to run virtual machines using unmodified Linux or Windows disk images. Each virtual machine has private virtualized hardware: a network card, disk, graphics adapter, etc.

This article tries to explain how it all works, in theory and practice, together with some simple benchmarks. From the article:
Under KVM’s model, every virtual machine is a regular Linux process scheduled by the standard Linux scheduler. KVM consists of two components:
=> a device driver for managing the virtualization hardware
=> a user-space component for emulating PC hardware; this is a lightly modified QEMU process

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source & DevOps topics via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
0 comments… add one

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.