Difference between revisions of "KVM"
From Funtoo Linux
(Created page with "KVM setup docs can be found here: http://www.linux-kvm.org/page/KvmOnGentoo Category:Virtualization Category:OpenStack") |
|||
| Line 1: | Line 1: | ||
| + | |||
| + | == Kernel Setup == | ||
| + | |||
| + | |||
| + | |||
| + | == User-space tools == | ||
| + | |||
| + | KVM is essentially a kernel-accelerated version of QEMU. To enable KVM support in the user-space tools, add the following lines to <tt>/etc/make.conf</tt>: | ||
| + | |||
| + | <pre> | ||
| + | QEMU_SOFTMMU_TARGETS="i386 x86_64" | ||
| + | QEMU_USER_TARGETS="i386 x86_64" | ||
| + | </pre> | ||
| + | |||
| + | <console> | ||
| + | # ##i## emerge qemu-kvm | ||
| + | </console> | ||
| + | |||
KVM setup docs can be found here: | KVM setup docs can be found here: | ||
http://www.linux-kvm.org/page/KvmOnGentoo | http://www.linux-kvm.org/page/KvmOnGentoo | ||
| + | |||
| + | <console> | ||
| + | # ##i## qemu-img create -f qcow2 vdisk.qcow2 10 | ||
| + | # ##i## qemu-system-x86_64 vdisk.qcow2 -m 1024 -cdrom systemrescuecd.iso -net nic -net user | ||
| + | </console> | ||
[[Category:Virtualization]] | [[Category:Virtualization]] | ||
[[Category:OpenStack]] | [[Category:OpenStack]] | ||
Revision as of 02:49, 29 April 2012
Kernel Setup
User-space tools
KVM is essentially a kernel-accelerated version of QEMU. To enable KVM support in the user-space tools, add the following lines to /etc/make.conf:
QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64"
# emerge qemu-kvm
KVM setup docs can be found here:
http://www.linux-kvm.org/page/KvmOnGentoo
# qemu-img create -f qcow2 vdisk.qcow2 10 # qemu-system-x86_64 vdisk.qcow2 -m 1024 -cdrom systemrescuecd.iso -net nic -net user