* [meta-virtualization][wrynose][PATCH 1/2] libvirt: update to v12.2.0
@ 2026-05-29 3:00 Haitao Liu
2026-05-29 3:00 ` [meta-virtualization][wrynose][PATCH 2/2] libvirt: re-add ptest support for meson build system Haitao Liu
2026-06-05 3:27 ` [meta-virtualization][wrynose][PATCH 1/2] libvirt: update to v12.2.0 Bruce Ashfield
0 siblings, 2 replies; 4+ messages in thread
From: Haitao Liu @ 2026-05-29 3:00 UTC (permalink / raw)
To: meta-virtualization
Bumping libvirt to version v12.2.0-93a00a3db8c, which comprises the following commits:
93a00a3db8 (tag: v12.2.0) Release of libvirt-12.2.0
f9c95bdbd0 NEWS: mention new hyperv features
8850040735 NEWS: Document 'handle' fs backend removal, blockjob backend zeroing and stats for '<dataStore>'
d2c6b93f4e NEWS: Document IOMMUFD fixes and new features
f5868958e4 NEWS: Mention VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES
473b1d917c NEWS: Document features/improvements/bug fixes I've participated in
2f8013287a qemu_hotplug: Set correct iommufdState on error path
e46934cd98 (tag: v12.2.0-rc2) Translated using Weblate (Czech)
b96ea4db3a hypervisor: Call virWaitForDevices() after detaching host devices
3a91192252 util: virfile: Don't over-allocate buffers in saferead_lim
a719ab7344 util: virfile: Document the various functions for reading from file/fd
4fc09da299 virPCIDeviceReadID: Fix use of 'virFileReadAll'
59684e9cc1 virNetDevIPCheckIPv6Forwarding: Don't NUL terminate buffer from virFileReadAll
747a74dd05 virSecretLoadValue: Don't re-termiante the buffer
58b3a78aff virPCIDeviceReadClass: Don't write beyond end of buffer from virFileReadAll
458c6a2810 util: file: Shrink buffer returned from 'saferead_lim' to actual size
74b24ffc24 secret: config: Don't leak 'cfg->secretsEncryptionKey'
4a363bdfe9 qemu: driver: Don't leak 'qemu_driver->backupPorts'
f590a18da6 (tag: v12.2.0-rc1) po: Refresh potfile for v12.2.0
9d99334bba Translated using Weblate (Romanian)
d3667c0bad Translated using Weblate (Korean)
d1223c502f Translated using Weblate (Chinese (Simplified) (zh_CN))
a99d11bd22 Translated using Weblate (Spanish)
b1d88f766d Translated using Weblate (Spanish)
616c618a2f Translated using Weblate (Spanish)
397b1f9cf0 Translated using Weblate (Spanish)
0fa4d624fe Translated using Weblate (Portuguese)
26263b5600 Translated using Weblate (Georgian)
a8ee17c8a3 Translated using Weblate (English (United Kingdom))
0f52d35b1b virxml: Fix virXMLPropTristateBoolAllowDefault() documentation
a52ba0ae7b tests/virhostcputest: Remove duplicit g_autofree
83f49f6335 util: Fix comment in virBitmapNewData
e2e1b02ae4 qemuDomainGetBlockInfo: Add debug statement when updating disk physical size
ce56dc26f4 qemu: monitor: Separate stats from capacity properties in qemuBlockStats
5f081c4b2e qemuDomainGetStatsBlockExportDisk: Export stats also for 'dataStore'
d731d54a57 virDomainGetBlockInfo: Log 'disk' argument
Signed-off-by: Haitao Liu <haitao.liu@windriver.com>
---
recipes-extended/libvirt/libvirt-python.inc | 2 +-
recipes-extended/libvirt/libvirt_git.bb | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc
index 6738193a..c37a9ebe 100644
--- a/recipes-extended/libvirt/libvirt-python.inc
+++ b/recipes-extended/libvirt/libvirt-python.inc
@@ -20,7 +20,7 @@ INSANE_SKIP:${PN}-dbg += "buildpaths"
SRC_URI += "http://libvirt.org/sources/python/${LIBVIRT_PYTHON_ARCHIVE_NAME}.tar.gz;name=libvirt_python;subdir=${BP}"
LIBVIRT_PYTHON_ARCHIVE_NAME = "${BPN}_python-${LIBVIRT_VERSION}"
-SRC_URI[libvirt_python.sha256sum] = "2cc02c0b91a9abd140185feab46b33281091d4deffbc1bbfdb68ce682359f2b0"
+SRC_URI[libvirt_python.sha256sum] = "742147988bba7d400f6892beeeb7e0a27758f10ff65421b569b7b4b6a2572e44"
export LIBVIRT_API_PATH = "${S}/docs/libvirt-api.xml"
export LIBVIRT_CFLAGS = "-I${S}/include"
diff --git a/recipes-extended/libvirt/libvirt_git.bb b/recipes-extended/libvirt/libvirt_git.bb
index 34a1ff21..cb5d3482 100644
--- a/recipes-extended/libvirt/libvirt_git.bb
+++ b/recipes-extended/libvirt/libvirt_git.bb
@@ -26,9 +26,9 @@ RDEPENDS:libvirt-libvirtd:append:aarch64 = " dmidecode"
#connman blocks the 53 port and libvirtd can't start its DNS service
RCONFLICTS:${PN}_libvirtd = "connman"
-SRCREV_libvirt = "9fa6beff05728a32dd11f7ccb7e3c97fca510029"
+SRCREV_libvirt = "93a00a3db8c8b5e3ee4a97ff2539193e5e7accff"
-LIBVIRT_VERSION = "12.1.0"
+LIBVIRT_VERSION = "12.2.0"
PV = "v${LIBVIRT_VERSION}+git"
SRC_URI = "gitsm://github.com/libvirt/libvirt.git;name=libvirt;protocol=https;branch=master \
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [meta-virtualization][wrynose][PATCH 2/2] libvirt: re-add ptest support for meson build system
2026-05-29 3:00 [meta-virtualization][wrynose][PATCH 1/2] libvirt: update to v12.2.0 Haitao Liu
@ 2026-05-29 3:00 ` Haitao Liu
2026-06-05 3:31 ` Bruce Ashfield
2026-06-05 3:27 ` [meta-virtualization][wrynose][PATCH 1/2] libvirt: update to v12.2.0 Bruce Ashfield
1 sibling, 1 reply; 4+ messages in thread
From: Haitao Liu @ 2026-05-29 3:00 UTC (permalink / raw)
To: meta-virtualization
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 <haitao.liu@windriver.com>
---
recipes-extended/libvirt/libvirt/run-ptest | 32 ++++++++++++++-
recipes-extended/libvirt/libvirt_git.bb | 45 ++++++++++++++++++++--
2 files changed, 73 insertions(+), 4 deletions(-)
diff --git a/recipes-extended/libvirt/libvirt/run-ptest b/recipes-extended/libvirt/libvirt/run-ptest
index a434b186..dd1f94d3 100644
--- a/recipes-extended/libvirt/libvirt/run-ptest
+++ b/recipes-extended/libvirt/libvirt/run-ptest
@@ -1,3 +1,33 @@
#!/bin/sh
-make -C tests -k check-TESTS
+PTEST_DIR="/usr/lib/libvirt/ptest/tests"
+export LD_LIBRARY_PATH="${PTEST_DIR}:${LD_LIBRARY_PATH}"
+PASS=0
+FAIL=0
+SKIP=0
+
+run_test() {
+ tname="$1"
+ tpath="$2"
+ "$tpath" >/dev/null 2>&1
+ rc=$?
+ case $rc in
+ 0) echo "PASS: $tname"; PASS=$((PASS + 1)) ;;
+ 77) echo "SKIP: $tname"; SKIP=$((SKIP + 1)) ;;
+ *) echo "FAIL: $tname"; FAIL=$((FAIL + 1)) ;;
+ esac
+}
+
+# Skip run-ptest (self), commandhelper and qemucapsprobe are middleware
+# used by other test cases, not test cases themselves.
+for t in $(find ${PTEST_DIR} -maxdepth 1 -type f -executable ! -name "*.so" ! -name "run-ptest" ! -name "commandhelper" ! -name "qemucapsprobe"); do
+ run_test "$(basename $t)" "$t"
+done
+
+# Summary
+echo ""
+echo "=== Test Summary ==="
+echo "PASS: $PASS"
+echo "FAIL: $FAIL"
+echo "SKIP: $SKIP"
+echo "TOTAL: $((PASS + FAIL + SKIP))"
diff --git a/recipes-extended/libvirt/libvirt_git.bb b/recipes-extended/libvirt/libvirt_git.bb
index cb5d3482..0052f527 100644
--- a/recipes-extended/libvirt/libvirt_git.bb
+++ b/recipes-extended/libvirt/libvirt_git.bb
@@ -34,17 +34,16 @@ PV = "v${LIBVIRT_VERSION}+git"
SRC_URI = "gitsm://github.com/libvirt/libvirt.git;name=libvirt;protocol=https;branch=master \
file://libvirtd.sh \
file://libvirtd.conf \
+ file://run-ptest \
file://dnsmasq.conf \
file://hook_support.py \
file://gnutls-helper.py;subdir=${BP} \
file://libvirt-qemu.conf \
file://0001-prevent-gendispatch.pl-generating-build-path-in-code.patch \
- file://0001-messon.build-remove-build-path-information-to-avoid-.patch \
- file://0001-tests-meson-clear-absolute-directory-paths.patch \
file://0001-qemu_nbdkit.c-use-llu-to-print-time_t.patch \
"
-inherit meson gettext update-rc.d pkgconfig systemd useradd perlnative
+inherit meson gettext update-rc.d pkgconfig systemd useradd perlnative ptest
USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM:${PN} = "-r qemu; -r kvm; -r libvirt; -r virtlogin"
USERADD_PARAM:${PN} = "-r -g qemu -G kvm qemu"
@@ -188,6 +187,46 @@ CVE_STATUS[CVE-2023-3750] = "fixed-version: Fixed in 9.6.0, NVD tracks this as v
# Enable the Python tool support
require libvirt-python.inc
+do_configure:prepend() {
+ sed -i \
+ -e "s|meson.current_build_dir()|'${PTEST_PATH}/tests'|g" \
+ -e "s|meson.project_build_root()|'${PTEST_PATH}'|g" \
+ -e "s|meson.current_source_dir()|'${PTEST_PATH}/datas/tests'|g" \
+ -e "s|meson.project_source_root()|'${PTEST_PATH}/datas'|g" \
+ ${S}/tests/meson.build ${S}/scripts/rpcgen/tests/meson.build ${S}/tests/schemas/meson.build
+}
+
+# Guard abs_top_builddir/abs_top_srcdir defines with #ifndef to avoid
+# -Werror redefinition conflict when tests pass them via -D compile flags.
+do_configure:append() {
+ sed -i '/^#define abs_top_builddir/c\#ifndef abs_top_builddir\n#define abs_top_builddir " "\n#endif' ${B}/meson-config.h
+ sed -i '/^#define abs_top_srcdir/c\#ifndef abs_top_srcdir\n#define abs_top_srcdir " "\n#endif' ${B}/meson-config.h
+}
+
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ install -d ${D}${PTEST_PATH}/datas/tests
+ # The virshtest expects virsh at ${PTEST_PATH}/tests/tools/virsh, but it is
+ # installed to /usr/bin/virsh by libvirt-virsh. Create a symlink to satisfy
+ # the test's expected path.
+ install -d ${D}${PTEST_PATH}/tools
+ ln -sf /usr/bin/virsh ${D}${PTEST_PATH}/tools/virsh
+ find ${B}/tests/ -type f -executable -print -maxdepth 1 | xargs -i cp {} ${D}${PTEST_PATH}/tests -rf
+ cd ${S}/tests && find . -mindepth 1 -maxdepth 1 -type d | xargs -i cp {} ${D}${PTEST_PATH}/datas/tests -a
+ install -m 0755 ${B}/scripts/rpcgen/tests/test_demo ${D}${PTEST_PATH}/tests
+ install -m 0644 ${S}/scripts/rpcgen/tests/*.bin ${D}${PTEST_PATH}/datas/tests
+ install -D -m 0644 -t ${D}${PTEST_PATH}/datas/examples/xml/test/ ${S}/examples/xml/test/*.xml
+ install -D -m 0644 -t ${D}${PTEST_PATH}/datas/examples/xml/storage/ ${S}/examples/xml/storage/*.xml
+ install -D -m 0644 -t ${D}${PTEST_PATH}/datas/src/conf/schemas/ ${S}/src/conf/schemas/*.rng
+ install -D -m 0644 -t ${D}${PTEST_PATH}/datas/src/nwfilter/xml/ ${S}/src/nwfilter/xml/*.xml
+ install -D -m 0644 -t ${D}${PTEST_PATH}/tests/schemas/ ${B}/tests/schemas/*.rng
+ install -m 0644 ${S}/tests/openvzutilstest.conf ${D}${PTEST_PATH}/datas/tests
+ install -d ${D}${PTEST_PATH}/datas/src/network
+}
+
+RDEPENDS:${PN}-ptest += " ${PN}-virsh"
+
do_compile() {
cd ${B}/src
# There may be race condition, but without creating these directories
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [meta-virtualization][wrynose][PATCH 2/2] libvirt: re-add ptest support for meson build system
2026-05-29 3:00 ` [meta-virtualization][wrynose][PATCH 2/2] libvirt: re-add ptest support for meson build system Haitao Liu
@ 2026-06-05 3:31 ` Bruce Ashfield
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2026-06-05 3:31 UTC (permalink / raw)
To: Haitao.Liu; +Cc: meta-virtualization
This isn't strictly within bounds of "no new features", but since
it will help maintain the LTS branch, I'll mege it once I'm through
feature testing and a few other items.
Bruce"
In message: [meta-virtualization][wrynose][PATCH 2/2] libvirt: re-add ptest support for meson build system
on 29/05/2026 jason.lau via lists.yoctoproject.org wrote:
> 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 <haitao.liu@windriver.com>
> ---
> recipes-extended/libvirt/libvirt/run-ptest | 32 ++++++++++++++-
> recipes-extended/libvirt/libvirt_git.bb | 45 ++++++++++++++++++++--
> 2 files changed, 73 insertions(+), 4 deletions(-)
>
> diff --git a/recipes-extended/libvirt/libvirt/run-ptest b/recipes-extended/libvirt/libvirt/run-ptest
> index a434b186..dd1f94d3 100644
> --- a/recipes-extended/libvirt/libvirt/run-ptest
> +++ b/recipes-extended/libvirt/libvirt/run-ptest
> @@ -1,3 +1,33 @@
> #!/bin/sh
>
> -make -C tests -k check-TESTS
> +PTEST_DIR="/usr/lib/libvirt/ptest/tests"
> +export LD_LIBRARY_PATH="${PTEST_DIR}:${LD_LIBRARY_PATH}"
> +PASS=0
> +FAIL=0
> +SKIP=0
> +
> +run_test() {
> + tname="$1"
> + tpath="$2"
> + "$tpath" >/dev/null 2>&1
> + rc=$?
> + case $rc in
> + 0) echo "PASS: $tname"; PASS=$((PASS + 1)) ;;
> + 77) echo "SKIP: $tname"; SKIP=$((SKIP + 1)) ;;
> + *) echo "FAIL: $tname"; FAIL=$((FAIL + 1)) ;;
> + esac
> +}
> +
> +# Skip run-ptest (self), commandhelper and qemucapsprobe are middleware
> +# used by other test cases, not test cases themselves.
> +for t in $(find ${PTEST_DIR} -maxdepth 1 -type f -executable ! -name "*.so" ! -name "run-ptest" ! -name "commandhelper" ! -name "qemucapsprobe"); do
> + run_test "$(basename $t)" "$t"
> +done
> +
> +# Summary
> +echo ""
> +echo "=== Test Summary ==="
> +echo "PASS: $PASS"
> +echo "FAIL: $FAIL"
> +echo "SKIP: $SKIP"
> +echo "TOTAL: $((PASS + FAIL + SKIP))"
> diff --git a/recipes-extended/libvirt/libvirt_git.bb b/recipes-extended/libvirt/libvirt_git.bb
> index cb5d3482..0052f527 100644
> --- a/recipes-extended/libvirt/libvirt_git.bb
> +++ b/recipes-extended/libvirt/libvirt_git.bb
> @@ -34,17 +34,16 @@ PV = "v${LIBVIRT_VERSION}+git"
> SRC_URI = "gitsm://github.com/libvirt/libvirt.git;name=libvirt;protocol=https;branch=master \
> file://libvirtd.sh \
> file://libvirtd.conf \
> + file://run-ptest \
> file://dnsmasq.conf \
> file://hook_support.py \
> file://gnutls-helper.py;subdir=${BP} \
> file://libvirt-qemu.conf \
> file://0001-prevent-gendispatch.pl-generating-build-path-in-code.patch \
> - file://0001-messon.build-remove-build-path-information-to-avoid-.patch \
> - file://0001-tests-meson-clear-absolute-directory-paths.patch \
> file://0001-qemu_nbdkit.c-use-llu-to-print-time_t.patch \
> "
>
> -inherit meson gettext update-rc.d pkgconfig systemd useradd perlnative
> +inherit meson gettext update-rc.d pkgconfig systemd useradd perlnative ptest
> USERADD_PACKAGES = "${PN}"
> GROUPADD_PARAM:${PN} = "-r qemu; -r kvm; -r libvirt; -r virtlogin"
> USERADD_PARAM:${PN} = "-r -g qemu -G kvm qemu"
> @@ -188,6 +187,46 @@ CVE_STATUS[CVE-2023-3750] = "fixed-version: Fixed in 9.6.0, NVD tracks this as v
> # Enable the Python tool support
> require libvirt-python.inc
>
> +do_configure:prepend() {
> + sed -i \
> + -e "s|meson.current_build_dir()|'${PTEST_PATH}/tests'|g" \
> + -e "s|meson.project_build_root()|'${PTEST_PATH}'|g" \
> + -e "s|meson.current_source_dir()|'${PTEST_PATH}/datas/tests'|g" \
> + -e "s|meson.project_source_root()|'${PTEST_PATH}/datas'|g" \
> + ${S}/tests/meson.build ${S}/scripts/rpcgen/tests/meson.build ${S}/tests/schemas/meson.build
> +}
> +
> +# Guard abs_top_builddir/abs_top_srcdir defines with #ifndef to avoid
> +# -Werror redefinition conflict when tests pass them via -D compile flags.
> +do_configure:append() {
> + sed -i '/^#define abs_top_builddir/c\#ifndef abs_top_builddir\n#define abs_top_builddir " "\n#endif' ${B}/meson-config.h
> + sed -i '/^#define abs_top_srcdir/c\#ifndef abs_top_srcdir\n#define abs_top_srcdir " "\n#endif' ${B}/meson-config.h
> +}
> +
> +
> +do_install_ptest() {
> + install -d ${D}${PTEST_PATH}/tests
> + install -d ${D}${PTEST_PATH}/datas/tests
> + # The virshtest expects virsh at ${PTEST_PATH}/tests/tools/virsh, but it is
> + # installed to /usr/bin/virsh by libvirt-virsh. Create a symlink to satisfy
> + # the test's expected path.
> + install -d ${D}${PTEST_PATH}/tools
> + ln -sf /usr/bin/virsh ${D}${PTEST_PATH}/tools/virsh
> + find ${B}/tests/ -type f -executable -print -maxdepth 1 | xargs -i cp {} ${D}${PTEST_PATH}/tests -rf
> + cd ${S}/tests && find . -mindepth 1 -maxdepth 1 -type d | xargs -i cp {} ${D}${PTEST_PATH}/datas/tests -a
> + install -m 0755 ${B}/scripts/rpcgen/tests/test_demo ${D}${PTEST_PATH}/tests
> + install -m 0644 ${S}/scripts/rpcgen/tests/*.bin ${D}${PTEST_PATH}/datas/tests
> + install -D -m 0644 -t ${D}${PTEST_PATH}/datas/examples/xml/test/ ${S}/examples/xml/test/*.xml
> + install -D -m 0644 -t ${D}${PTEST_PATH}/datas/examples/xml/storage/ ${S}/examples/xml/storage/*.xml
> + install -D -m 0644 -t ${D}${PTEST_PATH}/datas/src/conf/schemas/ ${S}/src/conf/schemas/*.rng
> + install -D -m 0644 -t ${D}${PTEST_PATH}/datas/src/nwfilter/xml/ ${S}/src/nwfilter/xml/*.xml
> + install -D -m 0644 -t ${D}${PTEST_PATH}/tests/schemas/ ${B}/tests/schemas/*.rng
> + install -m 0644 ${S}/tests/openvzutilstest.conf ${D}${PTEST_PATH}/datas/tests
> + install -d ${D}${PTEST_PATH}/datas/src/network
> +}
> +
> +RDEPENDS:${PN}-ptest += " ${PN}-virsh"
> +
> do_compile() {
> cd ${B}/src
> # There may be race condition, but without creating these directories
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9824): https://lists.yoctoproject.org/g/meta-virtualization/message/9824
> Mute This Topic: https://lists.yoctoproject.org/mt/119542053/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-virtualization][wrynose][PATCH 1/2] libvirt: update to v12.2.0
2026-05-29 3:00 [meta-virtualization][wrynose][PATCH 1/2] libvirt: update to v12.2.0 Haitao Liu
2026-05-29 3:00 ` [meta-virtualization][wrynose][PATCH 2/2] libvirt: re-add ptest support for meson build system Haitao Liu
@ 2026-06-05 3:27 ` Bruce Ashfield
1 sibling, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2026-06-05 3:27 UTC (permalink / raw)
To: Haitao.Liu; +Cc: meta-virtualization
In message: [meta-virtualization][wrynose][PATCH 1/2] libvirt: update to v12.2.0
on 29/05/2026 jason.lau via lists.yoctoproject.org wrote:
> Bumping libvirt to version v12.2.0-93a00a3db8c, which comprises the following commits:
>
> 93a00a3db8 (tag: v12.2.0) Release of libvirt-12.2.0
> f9c95bdbd0 NEWS: mention new hyperv features
This "NEWS" commit, is talking about new features. The 2nd
digit bump of this recipe is not bugfix only, so it goes
against the normal stable branch "bugfix" only policy.
What are you trying to fix with this ? CVEs ? something
else ?
I need justification to go against policy and pick up
new features.
Bruce"
> 8850040735 NEWS: Document 'handle' fs backend removal, blockjob backend zeroing and stats for '<dataStore>'
> d2c6b93f4e NEWS: Document IOMMUFD fixes and new features
> f5868958e4 NEWS: Mention VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES
> 473b1d917c NEWS: Document features/improvements/bug fixes I've participated in
> 2f8013287a qemu_hotplug: Set correct iommufdState on error path
> e46934cd98 (tag: v12.2.0-rc2) Translated using Weblate (Czech)
> b96ea4db3a hypervisor: Call virWaitForDevices() after detaching host devices
> 3a91192252 util: virfile: Don't over-allocate buffers in saferead_lim
> a719ab7344 util: virfile: Document the various functions for reading from file/fd
> 4fc09da299 virPCIDeviceReadID: Fix use of 'virFileReadAll'
> 59684e9cc1 virNetDevIPCheckIPv6Forwarding: Don't NUL terminate buffer from virFileReadAll
> 747a74dd05 virSecretLoadValue: Don't re-termiante the buffer
> 58b3a78aff virPCIDeviceReadClass: Don't write beyond end of buffer from virFileReadAll
> 458c6a2810 util: file: Shrink buffer returned from 'saferead_lim' to actual size
> 74b24ffc24 secret: config: Don't leak 'cfg->secretsEncryptionKey'
> 4a363bdfe9 qemu: driver: Don't leak 'qemu_driver->backupPorts'
> f590a18da6 (tag: v12.2.0-rc1) po: Refresh potfile for v12.2.0
> 9d99334bba Translated using Weblate (Romanian)
> d3667c0bad Translated using Weblate (Korean)
> d1223c502f Translated using Weblate (Chinese (Simplified) (zh_CN))
> a99d11bd22 Translated using Weblate (Spanish)
> b1d88f766d Translated using Weblate (Spanish)
> 616c618a2f Translated using Weblate (Spanish)
> 397b1f9cf0 Translated using Weblate (Spanish)
> 0fa4d624fe Translated using Weblate (Portuguese)
> 26263b5600 Translated using Weblate (Georgian)
> a8ee17c8a3 Translated using Weblate (English (United Kingdom))
> 0f52d35b1b virxml: Fix virXMLPropTristateBoolAllowDefault() documentation
> a52ba0ae7b tests/virhostcputest: Remove duplicit g_autofree
> 83f49f6335 util: Fix comment in virBitmapNewData
> e2e1b02ae4 qemuDomainGetBlockInfo: Add debug statement when updating disk physical size
> ce56dc26f4 qemu: monitor: Separate stats from capacity properties in qemuBlockStats
> 5f081c4b2e qemuDomainGetStatsBlockExportDisk: Export stats also for 'dataStore'
> d731d54a57 virDomainGetBlockInfo: Log 'disk' argument
>
> Signed-off-by: Haitao Liu <haitao.liu@windriver.com>
> ---
> recipes-extended/libvirt/libvirt-python.inc | 2 +-
> recipes-extended/libvirt/libvirt_git.bb | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc
> index 6738193a..c37a9ebe 100644
> --- a/recipes-extended/libvirt/libvirt-python.inc
> +++ b/recipes-extended/libvirt/libvirt-python.inc
> @@ -20,7 +20,7 @@ INSANE_SKIP:${PN}-dbg += "buildpaths"
>
> SRC_URI += "http://libvirt.org/sources/python/${LIBVIRT_PYTHON_ARCHIVE_NAME}.tar.gz;name=libvirt_python;subdir=${BP}"
> LIBVIRT_PYTHON_ARCHIVE_NAME = "${BPN}_python-${LIBVIRT_VERSION}"
> -SRC_URI[libvirt_python.sha256sum] = "2cc02c0b91a9abd140185feab46b33281091d4deffbc1bbfdb68ce682359f2b0"
> +SRC_URI[libvirt_python.sha256sum] = "742147988bba7d400f6892beeeb7e0a27758f10ff65421b569b7b4b6a2572e44"
>
> export LIBVIRT_API_PATH = "${S}/docs/libvirt-api.xml"
> export LIBVIRT_CFLAGS = "-I${S}/include"
> diff --git a/recipes-extended/libvirt/libvirt_git.bb b/recipes-extended/libvirt/libvirt_git.bb
> index 34a1ff21..cb5d3482 100644
> --- a/recipes-extended/libvirt/libvirt_git.bb
> +++ b/recipes-extended/libvirt/libvirt_git.bb
> @@ -26,9 +26,9 @@ RDEPENDS:libvirt-libvirtd:append:aarch64 = " dmidecode"
> #connman blocks the 53 port and libvirtd can't start its DNS service
> RCONFLICTS:${PN}_libvirtd = "connman"
>
> -SRCREV_libvirt = "9fa6beff05728a32dd11f7ccb7e3c97fca510029"
> +SRCREV_libvirt = "93a00a3db8c8b5e3ee4a97ff2539193e5e7accff"
>
> -LIBVIRT_VERSION = "12.1.0"
> +LIBVIRT_VERSION = "12.2.0"
> PV = "v${LIBVIRT_VERSION}+git"
>
> SRC_URI = "gitsm://github.com/libvirt/libvirt.git;name=libvirt;protocol=https;branch=master \
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9823): https://lists.yoctoproject.org/g/meta-virtualization/message/9823
> Mute This Topic: https://lists.yoctoproject.org/mt/119542052/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-06-05 3:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-29 3:00 [meta-virtualization][wrynose][PATCH 1/2] libvirt: update to v12.2.0 Haitao Liu
2026-05-29 3:00 ` [meta-virtualization][wrynose][PATCH 2/2] libvirt: re-add ptest support for meson build system Haitao Liu
2026-06-05 3:31 ` Bruce Ashfield
2026-06-05 3:27 ` [meta-virtualization][wrynose][PATCH 1/2] libvirt: update to v12.2.0 Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.