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
- Migrate a VirtualBox Disk Image (.vdi) to a QEMU Image (.img)
- Converting a virtual machine from VirtualBox to KVM
- 5.5. Converting Virtualbox images to OpenStack (OpenStack)
## 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
- Assigning physical VGA adapters
- Multiheaded NVIDIA Gaming using Ubuntu 14.04 + KVM
- Debian Wiki - VGAPassthrough
-
passthrough graphics card to virtualbox
Project
- Github: Kimchi Project: An HTML5 management interface for KVM