Skip to content

Kernel-based Virtual Machine

(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)은 리눅스 커널을 하이퍼바이저로 변환하기 위한 가상화 인프라스트럭처의 하나이다. 2007년 2월 5일에 출시된 커널 버전 2.6.20의 리눅스 커널 메인라인에 병합되었다. KVM은 하드웨어 가상화 확장을 갖춘 프로세서가 필요하다. KVM은 적재 가능한 커널 모듈의 형태로 FreeBSD, 일루모스에도 포팅되었다.

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

전가상화 vs 반가상화 등의 이슈가 있다.

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