# libvirt

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

Source: https://talira.ai/catalog/libvirt-qfnqmv12
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool, Infrastructure
- Categories: [infrastructure / virtualization](https://talira.ai/categories/infrastructure/virtualization)
- Platforms: linux, freebsd, windows, macos[^2]
- Licence: LGPL-2.1-or-later[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- API: yes[^2]
- Backed by: [libvirt](https://talira.ai/orgs/libvirt.md)

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](https://talira.ai/catalog/qemu-sbcqcrc9.md) 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.

## Links

- Website: https://libvirt.org/
- GitLab: https://gitlab.com/libvirt/libvirt
- Docs: https://libvirt.org/docs.html

## 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 API: plan not known
- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.38 out of 1.
Signals: backing 0.30, extensibility 0.40.

- has a company behind it

Warnings:

- GitLab activity not fetched yet

## Related

- Works with [QEMU](https://talira.ai/catalog/qemu-sbcqcrc9.md)

## Alternatives

- [virt-manager](https://talira.ai/catalog/virt-manager-ymkd3324.md): A desktop user interface for managing virtual machines through libvirt
- [Proxmox VE](https://talira.ai/catalog/proxmox-ve-ebp6y34g.md): Open-source server virtualization platform for KVM virtual machines and LXC containers
- [LXD](https://talira.ai/catalog/lxd-ztbjz935.md): Modern, secure and powerful system container and virtual machine manager
- [QEMU](https://talira.ai/catalog/qemu-sbcqcrc9.md): A generic and open source machine emulator and virtualizer
- [Incus](https://talira.ai/catalog/incus-g3y2esgn.md): Next-generation system container, application container and virtual machine manager
- [Firecracker](https://talira.ai/catalog/firecracker-phzs9s31.md): Secure and fast microVMs for serverless computing

## Sources

[^1]: https://gitlab.com/libvirt/libvirt/-/blob/master/README.rst (checked 23 Nov 2026)
[^2]: https://libvirt.org/ (checked 23 Nov 2026)
