<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-virtualization.git/recipes-extended/libvirt, branch master-next</title>
<subtitle>Mirror of git.yoctoproject.org/meta-virtualization</subtitle>
<id>https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=master-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=master-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/'/>
<updated>2026-06-12T18:44:00+00:00</updated>
<entry>
<title>libvirt: re-add ptest support for meson build system</title>
<updated>2026-06-12T18:44:00+00:00</updated>
<author>
<name>Haitao Liu</name>
<email>haitao.liu@windriver.com</email>
</author>
<published>2026-05-29T02:39:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=3ed3d6b3f36ae4876dbb39d8fec4cfff66c0c337'/>
<id>urn:sha1:3ed3d6b3f36ae4876dbb39d8fec4cfff66c0c337</id>
<content type='text'>
libvirt has switched its build system from Makefile to meson, so the
original run-ptest which relied on "make -C tests -k check-TESTS" no
longer works. Re-add ptest support based on the meson build system:

- Rewrite run-ptest to directly execute the compiled test binaries
  instead of invoking make.
- Patch meson.build at configure time to replace absolute build/source
  paths with the ptest install paths, removing the need for separate
  path-stripping patches.
- Install test binaries and their required data files into the ptest
  directory.

Test results on genericx86-64:

  All 120 tests passed (0 failures, 0 skips).

root@genericx86-64:/usr/lib/libvirt/ptest# ./run-ptest
PASS: chxml2xmltest
PASS: nssguestlinktest
PASS: virbuftest
PASS: viracpitest
PASS: esxutilstest
PASS: ssh
PASS: storagepoolxml2xmltest
PASS: commandtest
...
...
PASS: nwfilterebiptablestest
PASS: cputest

=== Test Summary ===
PASS: 120
FAIL: 0
SKIP: 0
TOTAL: 120

Signed-off-by: Haitao Liu &lt;haitao.liu@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>libvirt: enable nftables by default</title>
<updated>2026-06-12T02:58:55+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2026-06-05T20:20:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=1feb6132d9b56e92903cca7f0f0d50cbee1c4e02'/>
<id>urn:sha1:1feb6132d9b56e92903cca7f0f0d50cbee1c4e02</id>
<content type='text'>
The iptables kernel modules (MASQUERADE, etc.) are increasingly
unavailable — the broader container ecosystem has moved to nftables
(netavark dropped iptables entirely, incus prefers nft). Without
nftables enabled, libvirtd's default network fails to start with
"Extension MASQUERADE revision 0 not supported, missing kernel module".

Add nftables to the default PACKAGECONFIG. This switches the firewall
backend priority to nftables,iptables (prefer nft, fall back to
iptables) and changes RDEPENDS from iptables to nftables + iproute2-tc.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>libvirt: disable secrets encryption for embedded environments</title>
<updated>2026-06-12T02:58:55+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2026-06-05T20:10:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=beb966e84df011f8039df61f24d941345164a2a3'/>
<id>urn:sha1:beb966e84df011f8039df61f24d941345164a2a3</id>
<content type='text'>
Libvirt v12 added encrypted secrets storage using systemd-creds. The
build-time virt-secret-init-encryption.service generates an encrypted
credential via 'systemd-creds encrypt' tied to the build host's TPM
or machine key. At runtime in a QEMU VM (or any different machine),
the credential cannot be decrypted, causing libvirtd to fail with
"Invalid encryption key for the secret" and refuse to start.

Set encrypt_data = 0 in secret.conf and remove the stale build-time
encrypted key file. Embedded and QEMU-based environments do not have
persistent machine credentials needed for this feature.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>libvirt-glib: update to v5.0.0-tip</title>
<updated>2026-06-02T13:48:28+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2026-06-02T12:52:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=d5221c9b5ea0cc5892ef110a5241541629f8fcf8'/>
<id>urn:sha1:d5221c9b5ea0cc5892ef110a5241541629f8fcf8</id>
<content type='text'>
Bumping libvirt-glib to version v5.0.0-27-g7202a4f, which comprises the following commits:

    7202a4f Translated using Weblate (Chinese (Simplified) (zh_CN))
    4ab6dbf Translated using Weblate (Chinese (Simplified) (zh_CN))
    ed96b8b Update translation files
    462ead9 Added translation using Weblate (Chinese (Traditional) (zh_TW))
    3f35172 Translated using Weblate (Spanish)
    648c021 ci: refresh with 'lcitool manifest'
    3af6511 Added translation using Weblate (Arabic)
    39035b5 Translated using Weblate (Portuguese)
    305726b Translated using Weblate (Portuguese)
    9cec505 Added translation using Weblate (Portuguese)
    957b258 Translated using Weblate (Chinese (Traditional Han script))
    f0f31e5 ci: refresh with 'lcitool manifest'
    bd53b1a Translated using Weblate (Finnish)
    24b25ce ci: refresh with 'lcitool manifest'
    0b5c1b4 ci: refresh with 'lcitool manifest'
    7cdfe76 gconfig: Add DomainVsock.set_cid_address method
    8badeaa gconfig: Add DomainVsock device configuration
    37214e5 ci: refresh with 'lcitool manifest'
    a281156 rpm: dep manual dep on libvirt-devel
    dff5164 rpm: add stronger deps from libvirt-gobject
    29d5f69 rpm: switch from %setup to %autosetup
    2cdbed6 rpm: add missing gcc dep for mingw builds
    41e0cba ci: refresh with latest lcitool manifest
    e9dc4e7 Translated using Weblate (English (United Kingdom))
    0e34a14 ci: refresh with latest lcitool manifest
    062f21c meson: relax max stack size limit
    5ed4b43 build: Add '-DG_LOG_DOMAIN' to glib/gobject/gconfig cflags

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>libvirt: update to v12.4.0-tip</title>
<updated>2026-06-02T13:48:28+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2026-06-02T12:51:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=13cc53cb8842d707737c7e4d2ba9c8bf0c21786d'/>
<id>urn:sha1:13cc53cb8842d707737c7e4d2ba9c8bf0c21786d</id>
<content type='text'>
Bumping libvirt to version v12.4.0-23-g54ff2058d6, which comprises the following commits:

    54ff2058d6 qemu_capabilities: Fix domain capabilities on AMD CPUs
    241318232c domaincapstest: Test SUPPORTED_CPU_FEATURES flag
    26ffa1d4f0 virsh: Add --supported-cpu-features option for domcapabilities
    e1efd79e83 Introduce VIR_CONNECT_GET_DOMAIN_CAPABILITIES_SUPPORTED_CPU_FEATURES flag
    090183a7dc Fix documentation of VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES
    6be1be4938 cpu: Introduce virCPUUpdateFeatures
    a8952076d8 cpu_x86: Introduce virCPUx86DataAddMSR
    3184289356 util: Publish and mock virHostCPUGetMSRFromKVM
    ed3ae648a9 domaincapstest: Test EXPAND_CPU_FEATURES flag
    312000a739 qemu_capabilities: Cache expanded CPU
    8b4f56447f qemu_capabilities: Split conditions in virQEMUCapsInitHostCPUModel
    eca4c6672d qemu_capabilities: Use g_autoptr in virQEMUCapsInitHostCPUModel
    003b573108 qemu_capabilities: Always sort features in host-model CPU
    b4d3572198 qemu: Move domain caps flags handling to virQEMUCapsFillDomainCPUHostModel
    354ac21cab qemu_capabilities: Split virQEMUCapsFillDomainCPUCaps
    0900cc4f2d cpu_conf: Introduce virCPUDefSortFeatures
    4984c5bd02 ci: regenerate with 'lcitool manifest'
    737ea91e1e examples: Improved shell output of showDomains
    bbeb6a5494 bhyve: implement the domainGetFSInfo() API
    e7a4d5e308 hypervisor: qemu_agent: add virDomainFSInfoFormat()
    14967793d4 bhyve: support getting interface addresses from agent
    8e96ca0b43 bhyve: reorder qemu agent code
    7047652806 Post-release version bump to 12.5.0

Drop file://0001-qemu_nbdkit.c-use-llu-to-print-time_t.patch: this
GCC format-string fix is now obsolete. Upstream took an equivalent
fix between v12.1.0 and v12.4.0 — they switched the offending
%lu specifiers to %lld (long long) and added explicit (long long)
casts on the time_t arguments, which is the canonical form for
time_t-portable printf. The patch's hunks 1 and 2 (in
qemuNbdkitCapsFormatCache and virNbdkitCapsSaveFile) no longer
apply because the upstream code is already correct; hunk 3 (in
qemuNbdkitProcessBuildCommandCurl) was already merged.

Update libvirt-python tarball sha256sum: the libvirt-python.inc fetch
templates the URL against PV, so the bump from 12.1.0 to 12.4.0 now
pulls libvirt_python-12.4.0.tar.gz with a different checksum than
the pinned 12.1.0 value. New sha256 is from the upstream-served
tarball directly.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>libvirt: fix python3 compatibility in hook_support.py</title>
<updated>2026-05-11T20:15:08+00:00</updated>
<author>
<name>Massimiliano Minella</name>
<email>massimiliano.minella@se.com</email>
</author>
<published>2026-05-04T09:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=fb1d9123351c86d7804e78e1518788913fb7c672'/>
<id>urn:sha1:fb1d9123351c86d7804e78e1518788913fb7c672</id>
<content type='text'>
By default Popen expects all the streams to be bytes-like objects but,
in the Popen.communicate() function call, the "input" argument is a
string, making the call fail with the error:

qemu hook error: a bytes-like object is required, not 'str'

Fix the error by setting text mode to True in the subprocess creation.

Also fix the "SyntaxWarning: invalid escape sequence '\w'" in the regex
used to match script names.

Signed-off-by: Massimiliano Minella &lt;massimiliano.minella@se.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>libvirt: remove obsolete depends to avahi</title>
<updated>2026-04-28T11:44:13+00:00</updated>
<author>
<name>Louis Rannou</name>
<email>louis.rannou@non.se.com</email>
</author>
<published>2026-04-27T13:54:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=580e0f598d85749eeac0badfe3a2603d7f2f7828'/>
<id>urn:sha1:580e0f598d85749eeac0badfe3a2603d7f2f7828</id>
<content type='text'>
libvirt has removed support for avahi in version 5.5.0 in 2019:

  * Remove Avahi mDNS support

    This feature was never used outside of virt-manager, which has itself
    stopped using it a while ago.

Signed-off-by: Louis Rannou &lt;louis.rannou@non.se.com&gt;
Signed-off-by: Louis Rannou &lt;louis.rannou@semalibre.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>libvirt: Drop the deprecated workaround</title>
<updated>2026-04-21T13:11:11+00:00</updated>
<author>
<name>Zhixiong Chi</name>
<email>zhixiong.chi@windriver.com</email>
</author>
<published>2026-04-21T07:46:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=ba09e8373772689b1383ed57e4d218d34c10cb95'/>
<id>urn:sha1:ba09e8373772689b1383ed57e4d218d34c10cb95</id>
<content type='text'>
The workaround is not needed anymore as the systemd supporting.
The libvirtd.service Type has been changed from notify to notify-reload,
so the final Type will be 'forking-reload', that's invalid for systemd.
Here we delete it to avoid the following output information:
&gt;/lib/systemd/system/libvirtd.service:29: Failed to parse Type=forking-reload, ignoring: Invalid argument

Signed-off-by: Zhixiong Chi &lt;zhixiong.chi@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>libvirt-dbus: update to v1.4.1-tip</title>
<updated>2026-04-21T02:25:55+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2026-04-21T01:35:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=c83f423bfed7963d2f98276f8cd5d13f2cfda4ca'/>
<id>urn:sha1:c83f423bfed7963d2f98276f8cd5d13f2cfda4ca</id>
<content type='text'>
We drop the inline error supression, since upstream has it in
commit c0fffce

New upstream version installs /usr/lib/sysusers.d/libvirt-dbus.conf
for systemd-sysusers user/group creation. Add the directory to FILES
to fix installed-vs-shipped QA error.

Bumping libvirt-dbus to version v1.4.1-46-gd1c49c2, which comprises the following commits:

    d1c49c2 domain: Fix incorrect free of GString variable
    c0fffce build: Do not use -Winline
    f1d2f64 ci: refresh with latest 'lcitool manifest'
    2105c17 Introduce sysusers config file to create libvirtdbus user
    0643cd8 ci: refresh with latest 'lcitool manifest'
    ded4bc8 ci: refresh with latest 'lcitool manifest'
    8f06b76 ci: switch to remote git refs for dependent projects
    2fa70fd ci: refresh with lcitool manifest
    ea96102 spec: use systemd macros to handle services
    d0a5650 spec: use systemd macro to specify path of user unit directory
    c281c50 ci: lcitool: Maintain project package deps lists here
    193248a rpm: convert license to SPDX format
    c8bb8ac meson: bump required libvirt version to 3.1.0
    08f7541 events: Remove extra white spaces at the end of line
    d37813b Remove GetBlockInfo method from Domain Interface
    4a971c4 ci: add Fedora 37 target
    58a9f53 ci: upgrade opensuse leap from 153 to 154
    24e43b4 ci: refresh with latest lcitool manifest
    697ef0b ci: drop unsupported targets
    ef9430e HACKING: Use gitlab as main repository
    4fbd82e ci: refresh with latest lcitool manifest
    8333b9f spec: add systemd-rpm-macros as build dependency
    35173fa ci: add Fedora 36
    3b070a5 ci: refresh generated files
    111fe77 ci: drop unsupported Fedora 34
    95ac644 README: update libvirt dbus bindings link
    23267d4 ci: Add more target platforms
    d62b5b1 ci: Build RPMs on CentOS Stream 8
    5232cb9 ci: Refresh generated files
    6eb24e9 ci: Drop unsupported targets
    d130ab0 ci: Move Coverity job from CentOS 8 to AlmaLinux 8
    2757a47 ci: Add AlmaLinux 8
    053d238 ci: Drop Travis CI support
    3077aa8 Add .gitattributes file
    502c8b5 rpm: Drop conditional needed on RHEL 7
    b685a89 Fix meson run_command with check param
    87b16e9 Implement GetBlockInfo, SetBlockThreshold methods and BlockThreshold signal for Domain Interface
    3d64429 Switch to new GitHub repo-lockdown configuration
    f4d3863 ci: remove obsolete refresh script and documentation
    2b0a513 ci: re-generate containers/gitlab config from manifest
    fa892e3 ci: define a CI manifest file
    b1bd1d2 gitlab: skip tests on ubuntu 18.04
    c7df361 gitlab: remove centos-7 build target
    204d341 meson: Fix systemd services install when --prefix was specified
    6ef9bb9 ci: refresh centos-stream container
    ce6cf93 gitlab: use custom docker:dind image
    0c355bb Release of libvirt-dbus 1.4.1

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>libvirt-dbus: disable -Werror=inline to fix build error</title>
<updated>2026-04-13T13:50:39+00:00</updated>
<author>
<name>Tanguy Raufflet</name>
<email>tanguy.raufflet@savoirfairelinux.com</email>
</author>
<published>2026-04-13T11:52:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=d57c511ccf8d478f86b2d5f04bde5a3f69ea46f2'/>
<id>urn:sha1:d57c511ccf8d478f86b2d5f04bde5a3f69ea46f2</id>
<content type='text'>
The meson.build from libvirt-dbus enables the flag -Winline. Combined
with -Werror from Yocto, this causes a build failure because GCC refuses
to inline g_autoptr_cleanup_generic_gfree() from the glib header
glib-autocleanups.h, as it considers the call unlikely and estimates
code size would grow.

Because the function g_autoptr_cleanup_generic_gfree is defined as
static inline with good reason, this patch disables -Werror=inline for
libvirt-dbus to allow the build to succeed.

Signed-off-by: Tanguy Raufflet &lt;tanguy.raufflet@savoirfairelinux.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
</feed>
