talira

Open source API, daemon and tools for managing virtual machines across hypervisors

open sourceLGPL-2.1-or-laterself-hostablefree

libvirt is a toolkit for managing virtualization platforms through one API: a C library, a daemon and the virsh command line, with bindings for Python, Go, Perl, Java, OCaml, C# and PHP. Its hypervisor drivers cover QEMU and KVM (and Hypervisor.framework on macOS), Xen, LXC, VMware ESX and Workstation, VirtualBox, Microsoft Hyper-V, Virtuozzo, OpenVZ, bhyve and Cloud Hypervisor, and it manages virtual networks, storage pools, node devices, secrets, snapshots and backups, each described in documented XML schemas. It runs on Linux, FreeBSD, Windows and macOS, and many virtualization tools are built on it. The C API is LGPL-2.1-or-later; some parts outside the library are GPL-2.0-or-later.

Problems it solves

  • manage KVM virtual machines on my Linux server from scripts
  • one API to create and control VMs on QEMU, Xen or VMware
  • define a virtual machine's disks and networks in XML and start it from the command line

Features

  • virsh command line
  • C API with bindings for many languages
  • drivers for QEMU/KVM, Xen, LXC, VMware, VirtualBox, Hyper-V, bhyve and more
  • virtual networks and storage pools
  • snapshots, checkpoints and backup jobs
  • XML domain definitions

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what libvirt does.

  1. virt-manager A desktop user interface for managing virtual machines through libvirt
  2. Proxmox VE Open-source server virtualization platform for KVM virtual machines and LXC containers
  3. LXD Modern, secure and powerful system container and virtual machine manager
  4. QEMU A generic and open source machine emulator and virtualizer
  5. Incus Next-generation system container, application container and virtual machine manager
  6. Firecracker Secure and fast microVMs for serverless computing

Compare libvirt with the top 3