pkg.sopackage field notes

brew / rank 933

Install libvirt with Homebrew

C virtualization API. Version 12.5.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libvirt

provider-native install command

overview

Package summary

C virtualization API

Commands and aliases

  • libvirtd
  • virsh
  • virt-admin
  • virt-host-validate
  • virt-login-shell
  • virt-pki-query-dn
  • virt-pki-validate
  • virt-qemu-qmp-proxy
  • virt-qemu-run
  • virt-qemu-sev-validate
  • virt-ssh-helper
  • virt-xml-validate
  • virtchd
  • virtlockd
  • virtlogd
  • virtlxcd
  • virtnetworkd
  • virtnwfilterd
  • virtproxyd
  • virtqemud
  • virtsecretd
  • virtstoraged
  • virtvboxd

history

Project history and usage

libvirt is the long-lived virtualization management API and daemon stack that gives tools a common way to manage domains, networks, storage, and host resources across hypervisors.

Project history

The project was created to provide a common and stable layer for managing virtualized domains on local or remote nodes. Its own goals page emphasizes API stability, secure remote management, resource enumeration, and the ability to insulate applications from frequent changes in lower-level virtualization frameworks.

libvirt became especially important as Linux virtualization consolidated around QEMU and KVM while still needing to interoperate with Xen, LXC, bhyve, VMware, VirtualBox, Hyper-V, and other backends. The project website describes a portable C API, stateful host daemons for some hypervisors, and language bindings layered on top of the core API.

Adoption history

The adoption story is unusually broad for a system library. The official applications page lists command-line tools, desktop applications, provisioning tools, monitoring systems, web applications, configuration-management integrations, backup tools, and infrastructure-as-a-service stacks using the libvirt API.

For package managers, libvirt is not just a library dependency; it is an ecosystem root. Installing it can bring daemons such as libvirtd or modular virt* daemons, virsh, validation tools, NSS integration packages, storage and network drivers, language bindings, and downstream tools such as virt-manager, virt-install, Vagrant providers, and cloud or CI integrations.

How it is used

Administrators commonly use virsh and libvirt daemons to define, start, stop, migrate, inspect, and automate virtual machines and container-like domains. Application developers use the API and bindings to build higher-level management tools while avoiding direct hypervisor-specific control protocols.

On developer workstations it is often the package behind local KVM/QEMU workflows; on servers it is the control plane layer used by provisioning, monitoring, and orchestration software that needs stable VM lifecycle operations.

Why package nerds care

libvirt is package-nerd famous because it sits at the junction of init systems, daemon socket activation, TLS and PKI material, kernel capabilities, QEMU/KVM feature flags, storage pools, virtual networking, and language bindings. It is the sort of dependency whose packaging details define whether virtualization feels boring or impossible.

It also illustrates why stable C APIs matter in infrastructure: a large ecosystem of frontends can keep working while hypervisors, host operating systems, and security models change underneath.

Timeline

  • 2005: Early libvirt releases began the public release history recorded by the project news archive.
  • 2012: The 1.0 series marked libvirt as a mature cross-hypervisor management layer.
  • 2021-01-15: libvirt 7.0.0 release notes recorded a formal handover of release tarball signing.
  • 2026-07-01: The project website listed support for QEMU/KVM, Xen, LXC, bhyve, VMware, Hyper-V, VirtualBox, macOS Hypervisor.framework, and other drivers.

Related projects

  • QEMU and KVM are among the most common backends managed through libvirt.
  • Xen, LXC, bhyve, VMware ESX/vCenter, Hyper-V, VirtualBox, Virtuozzo, and POWER Hypervisor are supported or related virtualization targets.
  • virt-manager, virt-install, guestfish, vagrant-libvirt, and many monitoring and provisioning tools sit above the libvirt API.

security posture

Risk level: orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service
  • generalized runtime or code generation signal
  • infrastructure mutation or orchestration signal

Signals

  • metadata:service
  • text:network,ssh
  • text:shell
  • text:virtualization

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/libvirt/libvirtd.conf/etc/libvirt/libvirt.conf$XDG_CONFIG_HOME/libvirt/libvirt.conf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
/etc/pki/CA/cacert.pem/etc/pki/libvirt/servercert.pem/etc/pki/libvirt/private/serverkey.pem

executables

Installed executables

CommandKindExposureNote
libvirtdexecutableindexed executableDiscovered from the local executable index.
virshexecutableindexed executableDiscovered from the local executable index.
virt-adminexecutableindexed executableDiscovered from the local executable index.
virt-host-validateexecutableindexed executableDiscovered from the local executable index.
virt-login-shellexecutableindexed executableDiscovered from the local executable index.
virt-pki-query-dnexecutableindexed executableDiscovered from the local executable index.
virt-pki-validateexecutableindexed executableDiscovered from the local executable index.
virt-qemu-qmp-proxyexecutableindexed executableDiscovered from the local executable index.
virt-qemu-runexecutableindexed executableDiscovered from the local executable index.
virt-qemu-sev-validateexecutableindexed executableDiscovered from the local executable index.
virt-ssh-helperexecutableindexed executableDiscovered from the local executable index.
virt-xml-validateexecutableindexed executableDiscovered from the local executable index.
virtchdexecutableindexed executableDiscovered from the local executable index.
virtlockdexecutableindexed executableDiscovered from the local executable index.
virtlogdexecutableindexed executableDiscovered from the local executable index.
virtlxcdexecutableindexed executableDiscovered from the local executable index.
virtnetworkdexecutableindexed executableDiscovered from the local executable index.
virtnwfilterdexecutableindexed executableDiscovered from the local executable index.
virtproxydexecutableindexed executableDiscovered from the local executable index.
virtqemudexecutableindexed executableDiscovered from the local executable index.
virtsecretdexecutableindexed executableDiscovered from the local executable index.
virtstoragedexecutableindexed executableDiscovered from the local executable index.
virtvboxdexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version12.5.0
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:libvirt
Version12.5.0
Package managerHomebrew
Homepagehttps://libvirt.org/
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation