Kvm: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
yum install -y qemu kvm SDL bridge-utils tunctl | yum install -y qemu kvm SDL bridge-utils tunctl | ||
== | ==install virtual machine.== | ||
virt-install --connect qemu:///system --name Fedora_16 --ram 2048 --vcpus=1 -f /ssd/libvirt/Fedora_16.qcow2 -s 30 -c /install/system/linux/fedora/16/Fedora-16-x86_64-netinst.iso --vnc --noautoconsole --hvm | |||
==connect to virtual machine.== | |||
virt-viewer Fedora_16 | |||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:Unix]] | [[Category:Unix]] | ||
[[Category:Virtualization]] | [[Category:Virtualization]] |
Revision as of 05:58, 15 May 2012
prepare environment
Is environment prepared for viritutalization.
egrep '(vmx|svm)' /proc/cpuinfo
vmx - (intel) svm - (amd)
Create disk image.
qemu-img create -f qcow2 f8_1_x86_64.img 10G
Install software.
yum install -y qemu kvm SDL bridge-utils tunctl
install virtual machine.
virt-install --connect qemu:///system --name Fedora_16 --ram 2048 --vcpus=1 -f /ssd/libvirt/Fedora_16.qcow2 -s 30 -c /install/system/linux/fedora/16/Fedora-16-x86_64-netinst.iso --vnc --noautoconsole --hvm
connect to virtual machine.
virt-viewer Fedora_16