User Tools

Site Tools


docs:libvirt

This is an old revision of the document!


libvirt

libvirt is an open source API, daemon and management tool for managing platform virtualization. It can be used to manage KVM, Xen, VMware ESX, QEMU and other virtualization technologies. These APIs are widely used in the orchestration layer of hypervisors in the development of a cloud-based solution.

Sparse image

qemu-img create -f qcow2 /var/lib/libvirt/images/test.qcow2 64G

Installation

virt-install -r 4096 --accelerate -n testowy -f /var/lib/libvirt/images/test.qcow2 --cdrom /CentOS-6.5-x86_64-bin-DVD1.iso --network=type=direct,source=eth0 --graphics vnc,listen=0.0.0.0 --noautoconsole

(connect using vnc client to server IP to finish installation)

Deleting guest

virsh
destroy testowy
undefine testowy

Autostart

virsh autostart testowy
docs/libvirt.1399881611.txt.gz · Last modified: 2014-05-12 10:00 by glen