Puneet Varma (Editor)

Libvirt

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Developer(s)
  
Red Hat

Written in
  
C

Libvirt

Initial release
  
December 19, 2005; 11 years ago (2005-12-19)

Stable release
  
2.5.0 / 4 December 2016; 3 months ago (2016-12-04)

Preview release
  
2.5.0-rc2 / December 1, 2016; 3 months ago (2016-12-01)

Repository
  
libvirt.org/git/?p=libvirt.git%3Ba%3Dsummary

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.

Contents

Internals

libvirt itself is a C library, but it has bindings in other languages, notably in Python, Perl, OCaml, Ruby, Java, JavaScript (via Node.js) and PHP. libvirt for these programming languages is composed of wrappers around another class/package called libvirtmod. libvirtmod's implementation is closely associated with its counterpart in C/C++ in syntax and functionality.

Supported Hypervisors

  • LXC – lightweight Linux container system
  • OpenVZ – lightweight Linux container system
  • Kernel-based Virtual Machine/QEMU (KVM) – open source hypervisor for Linux and SmartOS
  • Xen – Bare-Metal hypervisor
  • User-mode Linux (UML) paravirtualized kernel
  • VirtualBox – hypervisor by Oracle (formerly Sun) for Windows, Linux, Mac OS X, and Solaris
  • VMware ESX and GSX – hypervisors for Intel hardware
  • VMware Workstation and Player – hypervisors for Windows and Linux
  • Hyper-V – hypervisor for Windows by Microsoft
  • PowerVM – hypervisor by IBM for AIX, Linux and IBM i
  • Parallels Workstation – hypervisor for Mac by Parallels IP Holdings GmbH
  • Bhyve – hypervisor for FreeBSD 10+. (Support added with Libvirt 1.2.2)
  • User Interfaces

    Libvirt is used by various virtualization programs and platforms. Graphical Interfaces are provided by Virtual Machine Manager and others. The most popular command line interface is 'virsh', and higher level tools like oVirt.

    GNOME Boxes uses libvirt.

    Corporate

    Development of libvirt is backed by Red Hat, with significant contributions by other organisations and individuals. Libvirt is available on most Linux distributions; remote servers are also accessible from Apple Mac OS X and Microsoft Windows clients.

    Books

  • Warnke, Robert; Ritzau, Thomas. qemu-kvm & libvirt (in German). Norderstedt, Germany: Books on Demand. ISBN 978-3-8370-0876-0. 
  • References

    Libvirt Wikipedia