Skip to content
Search

Kernel-based Virtual Machine

lastmod 2025-06-10created 2016-04-2811 edits

(Not to be confused with KVM switch.)

Kernel-based Virtual Machine (KVM) is a virtualization infrastructure for the Linux kernel that turns it into a hypervisor. It was merged into the Linux kernel mainline in kernel version 2.6.20, which was released on February 5, 2007. KVM requires a processor with hardware virtualization extension. KVM has also been ported to FreeBSD and illumos in the form of loadable kernel modules.

Kernel-based Virtual Machine (KVM) is one of the virtualization infrastructures for turning the Linux kernel into a hypervisor. It was merged into the Linux kernel mainline in kernel version 2.6.20, released on February 5, 2007. KVM requires a processor with hardware virtualization extensions. KVM has also been ported to FreeBSD and illumos in the form of loadable kernel modules.

KVM install

## 가상화 패키지 그룹을 설치한다.
yum groupinstall "Virtualization*"

## KVM 관련 패키지를 설치한다:
yum install qemu-kvm
yum install qemu-img
yum install libvirt
yum install virt-manager

Bridge network setting

Xen vs KVM

There are issues such as full virtualization vs paravirtualization.

Convert VirtualBox to KVM

## Ubuntu:
## apt-get install qemu-utils

## Rehat:
## yum install qemu-img

$ qemu-img convert -f vdi -O qcow2 ~/"VirtualBox VMs"/TestMachine/TestMachine.vdi ~/Desktop/TestMachine1.qcow2

kVM GPU Resource passthrough

Project

See also

Favorite site

author Zer0 sitemap