CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

devel/libvirt 12.8.0

Toolkit to interact with virtualization capabilities

Port info

Maintainer
novel@FreeBSD.org
Packages
latest: 12.8.0
Upstream
up to date
Last update
to 12.8.0 · 5c9aa1fb7d
Quarterly
2026Q4: 12.7.0_1
WWW
https://libvirt.org/
Links
cgit · VuXML

Install

Package
# pkg install libvirt
installs 12.8.0 from latest; from quarterly (2026Q4) 12.7.0_1
Port
# cd /usr/ports/devel/libvirt && make install clean
# make -C /usr/ports/devel/libvirt config  # change options first
Size
8.5 MiB download · 50 MiB installed
Depends on
devel/gettext-runtime 1.0_1, devel/glib20 2.88.3,2, devel/json-c 0.19_1, devel/readline 8.3.6, dns/dnsmasq 2.93,1, ftp/curl 8.23.0, net/libslirp 4.9.5, security/gnutls 3.8.13, security/libssh 0.12.2, security/libssh2 1.11.1_1,3, sysutils/dmidecode 3.7, textproc/libxml2 2.15.4
License
LGPL3
Options
8 of 12 on in the package: BHYVE DOCS LIBSSH LIBSSH2 NLS READLINE SLIRP ZFS
Show the 4 options that are off
NSS QEMU SASL XEN
pkg-message
Shown after installing
To enable libvirtd please add libvirtd_enable="YES" to
/etc/rc.conf.

NOTE ON CONFIGURATION:

The libvirt port does not come with networking configuration enabled.
The 'default' network definition is available at:

  /usr/local/share/examples/libvirt/networks/default.xml

To enable this network please do the following:

  cp /usr/local/share/examples/libvirt/networks/default.xml /usr/local/etc/libvirt/qemu/networks

To configure this network for autostart, execute the following:

  ln -s ../default.xml /usr/local/etc/libvirt/qemu/networks/autostart/default.xml

If you have libvirtd already running you'll need to restart it for changes
to take effect.

For more details on using libvirt with bhyve please refer to:
 /usr/local/share/doc/libvirt/html/drvbhyve.html
   or:
 http://libvirt.org/drvbhyve.html

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 1612.8.012.8.0–
FreeBSD 1512.8.012.8.0–
FreeBSD 1412.8.012.8.012.8.0

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 1512.7.0_112.7.0_1–
FreeBSD 1412.7.0_112.7.0_112.7.0_1

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 12.8.0.

Fixed (2)

Show 2 fixed
VuXML entries whose affected range the packaged version has left.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (253)

Roman Bogorodskiy (novel) · 12.8.0
devel/libvirt: update to 12.8.0

Sponsored by:	The FreeBSD Foundation
5c9aa1fb7d
Roman Bogorodskiy (novel) · 12.7.0_1
devel/libvirt: run virt-host-validate in rc script

Update the libvirtd rc script to run virt-host-validate(1)
before running libvirtd(8). This command provides information
about possibly missing kernel modules required for certain
features of libvirtd. Errors and warnings from this tool do not
prevent libvirtd(8) from starting as most of the features
are optional.

Suggested by:	arrowd
Reviewed by:	arrowd
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D59490
44dc35be3c
Roman Bogorodskiy (novel) · 12.7.0
devel/libvirt: update to 12.7.0

- Update to 12.7.0
 - Drop patch merged upstream

Sponsored by:	The FreeBSD Foundation
24cf8cc5ce
Roman Bogorodskiy (novel) · 12.6.0_1
devel/libvirt: backport upstream bugfix

- Include an upstream patch which fixes a bug in the bhyve
   driver which could cause libvirtd lockup on domain shutdown
 - Bump PORTREVISION

Sponsored by:	The FreeBSD Foundation
e87b122ed8
Roman Bogorodskiy (novel) · 12.6.0
devel/libvirt: update to 12.6.0

Sponsored by:	The FreeBSD Foundation
e2ff816449
Roman Bogorodskiy (novel) · 12.5.0
devel/libvirt: update to 12.5.0

Sponsored by:	The FreeBSD Foundation
94342d6029
Roman Bogorodskiy (novel) · 12.4.0
devel/libvirt: update to 12.4.0

Sponsored by:	The FreeBSD Foundation
8d7a7ec460
Roman Bogorodskiy (novel) · 12.3.0
devel/libvirt: update to 12.3.0

- Update to 12.3.0
 - Patch out installation of the unnecessary systemd service file

Sponsored by:	The FreeBSD Foundation
5cd36348f8
Roman Bogorodskiy (novel) · 12.2.0
devel/libvirt: update to 12.2.0

Drop files/patch-src_secret_meson.build as the change was merged
upstream.

Sponsored by:	The FreeBSD Foundation
0818887794
Roman Bogorodskiy (novel) · 12.1.0_1
devel/libvirt: enable BHYVE option on arm64

Currently, the BHYVE option is available only if "/usr/sbin/bhyveload"
is present. However, bhyveload(8) is not present on arm64.
To make the BHYVE option available on arm64 too, update
the condition to check for the "/usr/sbin/bhyve" path instead.

Sponsored by:	The FreeBSD Foundation
ce3d0cc594
Roman Bogorodskiy (novel) · 12.1.0
devel/libvirt: update to 12.1.0

Sponsored by:	The FreeBSD Foundation
1cc6ee1f55
Roman Bogorodskiy (novel) · 12.0.0
devel/libvirt: fix build on 16-CURRENT

As of src commit ac5a19ec6989675c8ec6c3ca245dba243d1a6416 xdrproc_t
accepts only two arguments. Address that change in libvirt.

Reported by:	pkg-fallout
Obtained from:	upstream
Sponsored by:	The FreeBSD Foundation
9f8aa82d38
Roman Bogorodskiy (novel) · 12.0.0
devel/libvirt: update to 12.0.0

Sponsored by:	The FreeBSD Foundation
dd091949c7
Roman Bogorodskiy (novel) · 11.10.0
devel/libvirt: update to 11.10.0

- Update to 11.10.0
 - As this release adds SLIRP networking support for the bhyve driver,
   add the SLIRP option which register dependency on net/libslirp. It's
   enabled by default when the BHYVE option is enabled by default,
   and implies BHYVE.
 - Handle SHEBANG and plist entries for qemu's 'virt-qemu-qmp-proxy'
   and 'virt-qemu-sev-validate' scripts [1]

PR:		291283 [1] (based on)
Submitted by:	David Horn [1]
Sponsored by:	The FreeBSD Foundation
16adc595b0
Roman Bogorodskiy (novel) · 11.9.0
devel/libvirt: update to 11.9.0

Sponsored by:	The FreeBSD Foundation
4ab47787b8
Roman Bogorodskiy (novel) · 11.8.0
devel/libvirt: update to 11.8.0

- Update to 11.8.0
 - Add "reload" extra command to the rc script

Sponsored by:	The FreeBSD Foundation
5db0a694f0
Roman Bogorodskiy (novel) · 11.7.0
devel/libvirt: update to 11.7.0
3be35c6e2f
Roman Bogorodskiy (novel) · 11.6.0
devel/libvirt: update to 11.6.0

- Update to 11.6.0
 - Require json-c when the BHYVE option is enabled as it's required
   for some networking related features

Sponsored by:	The FreeBSD Foundation
766fabda2f
Roman Bogorodskiy (novel) · 11.5.0
devel/libvirt: update to 11.5.0

Sponsored by:	The FreeBSD Foundation
6ffc12e79b
Baptiste Daroussin (bapt) · 11.4.0_1
libxml2: chase libxml soversion bump
3068854dd0
Roman Bogorodskiy (novel) · 11.4.0
devel/libvirt: update to 11.4.0

- Update to 11.4.0
 - Drop patch-build-aux_meson.build which was upstreamed

Sponsored by:	The FreeBSD Foundation
8702e10856
Alexey Dokuchaev (danfe) · 11.3.0
devel/libvirt: depend on GNU grep(1) in a more robust way

FreeBSD ships native grep(1) implementation in the base for
quite a while, so don't bother to check its origin and just
request GNU version explicitly like on Darwin (macOS).

Depending on `/usr/local/bin/grep' is also wrong because of
the hardcoded prefix and because compatibility symlinks are
optional (plans are to disable them in the future).
1a8a9a832e
Roman Bogorodskiy (novel) · 11.3.0
devel/libvirt: update to 11.3.0

Sponsored by:	The FreeBSD Foundation
4e5714725e
Roman Bogorodskiy (novel) · 11.2.0
devel/libvirt: update to 11.2.0

Sponsored by:	The FreeBSD Foundation
a7c76ed052
Roman Bogorodskiy (novel) · 11.1.0
devel/libvirt: update to 11.1.0
8e74d357f1
Jung-uk Kim (jkim) · 11.0.0_1
devel/libvirt: Fix a typo in a rc script to correct PROVIDE

There is a typo in PROVIDE line in virtlogd.  This causes an error when
we run libvirtd service, i.e.,

rcorder: requirement `virtlogd' in file `/usr/local/etc/rc.d/libvirtd' has no providers.

PR:		284630
Approved by:	novel (maintainer)
34cdec019c
Roman Bogorodskiy (novel) · 11.0.0
devel/libvirt: update to 11.0.0
1714dd6819
Daniel Engberg (diizzy) · 10.9.0
*/*: Use Gnome helper for defining libxml2 dependency

Replace LIB_DEPENDS with USES= gnome, USE_GNOME= libxml2

Approved by:	portmgr (blanket)
3b3700f8f0
Jan Beich (jbeich) · 10.9.0
Mk/Uses/meson.mk: pass --localstatedir like GNU_CONFIGURE after 9f4546a03cc0

Meson defaults to --localstatedir=/var/local if --prefix=/usr/local
but this is not valid for ports/ or FreeBSD hier(7).

See also 68edbeeaae96 and
https://github.com/mesonbuild/meson/commit/24549dbed5fe

PR:		273605
Analyzed by:	Tatsuki Makino
Exp-run by:	antoine
f735bc3d93
Ronald Klop (ronald) · 10.9.0
devel/libvirt: fix build on 15/aarch64

The build picked up BHYVE option while it does not have the
/usr/sbin/bhyveload executable which is needed by the build.

PR:	282786
Reported by:	https://lists.freebsd.org/archives/freebsd-pkg-fallout/2024-December/690521.html
Approved by:	novel@ (maintainer timeout)
751fd2a4a2
Roman Bogorodskiy (novel) · 10.9.0
devel/libvirt: update to 10.9.0
3b4dc85c0f
Roman Bogorodskiy (novel) · 10.8.0
devel/libvirt: update to 10.8.0

PR:		281590
Approved by:	maintainer
ffc3c5d385
Daniel Engberg (diizzy) · 10.3.0_1
devel/libvirt: Remove libtool as dependency

Not used in project

Approved by:	portmgr (blanket)
46be9e5b9f
Wen Heping (wen) · 10.3.0_1
textproc/py-docutils: Update to 0.21.2

And fix some build errors caused by this update
PR:		280080
Reported by:	wen@
Exp-run by:	antoine@
Approved by:	portmgr(blanket, fix build)
c0615e6aa3
Roman Bogorodskiy (novel) · 10.3.0
devel/libvirt: update to 10.3.0
9be739f86d
Roman Bogorodskiy (novel) · 10.2.0
devel/libvirt: update to 10.2.0
e382a74b41
Roman Bogorodskiy (novel) · 10.1.0
devel/libvirt: update to 10.1.0
20221158f5
Roman Bogorodskiy (novel) · 10.0.0
devel/libvirt: fix build with make jobs

Add a fix from the upstream repository for build with make jobs.

PR:		276787
Reported by:	dvl
bd305ba05f
Roman Bogorodskiy (novel) · 10.0.0
devel/libvirt: update to 10.0.0
44e62f4213
Muhammad Moinur Rahman (bofh) · 9.10.0_1
*/*: Sanitize MANPREFIX for meson ports

Approved by:	portmgr
9f8f710b3e
Roman Bogorodskiy (novel) · 9.10.0
devel/libvirt: update to 9.10.0
989615aa0f
Roman Bogorodskiy (novel) · 9.9.0
devel/libvirt: update to 9.9.0
f5a5647fea
Roman Bogorodskiy (novel) · 9.8.0
devel/libvirt: update to 9.8.0
eaf63673c4
Roman Bogorodskiy (novel) · 9.7.0
devel/libvirt: update to 9.7.0
711e3a00f2
Roman Bogorodskiy (novel) · 9.6.0
devel/libvirt: update to 9.6.0
c533cd31fc
Roman Bogorodskiy (novel) · 9.5.0
devel/libvirt: update to 9.5.0
8fad312525
Rene Ladan (rene) · 9.4.0
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
3d9a815d9c
Roman Bogorodskiy (novel) · 9.4.0
devel/libvirt: update to 9.4.0
f16c9397fa
Roman Bogorodskiy (novel) · 9.3.0
devel/libvirt: update to 9.3.0
e415fd35b9
Roman Bogorodskiy (novel) · 9.2.0
devel/libvirt: update to 9.2.0
29a22f0ddf