qemu: upgrade 11.0.3 -> 11.1.0
PATCH 1/1 qemu: upgrade 11.0.3 -> 11.1.0
Changelog: https://wiki.qemu.org/ChangeLog/11.1
Patch '0012-meson-fix-close_range-detection-on-older-glibc.patch' is included in v11.1.0:
|tgamblin@megalith ~/workspace/git/qemu ((HEAD detached at v11.1.0))$ git tag --contains 5435254739dfdcc86cf5793def83cec6e5b53822 |v11.1.0 |v11.1.0-rc0 |v11.1.0-rc1 |v11.1.0-rc2 |v11.1.0-rc3
As is '0013-hw-scsi-vhost-scsi-include-standard-headers-for-vhost-worker-structs.patch':
tgamblin@megalith ~/workspace/git/qemu ((HEAD detached at v11.1.0))$ git tag --contains 062c1b7d033e675ea622939b444d57516be56f6a v11.1.0
v11.1.0-rc0
v11.1.0-rc1
v11.1.0-rc2
v11.1.0-rc3
Refresh patch '0007-tests-meson.build-use-relative-path-to-refer-to-file.patch' to apply on the new version.
The glusterfs backend was removed in upstream commit 3822df47c240d91ea4789ab2812d1eafce2bd21a, so remove that PACKAGECONFIG from qemu.inc.
---
...native_11.0.3.bb => qemu-native_11.1.0.bb} | 0
...11.0.3.bb => qemu-system-native_11.1.0.bb} | 0
meta/recipes-devtools/qemu/qemu.inc | 5 +--
...d-use-relative-path-to-refer-to-file.patch | 17 +++++---
...close_range-detection-on-older-glibc.patch | 39 -------------------
5 files changed, 13 insertions(+), 48 deletions(-)
rename meta/recipes-devtools/qemu/{qemu-native_11.0.3.bb => qemu-native_11.1.0.bb} (100%)
rename meta/recipes-devtools/qemu/{qemu-system-native_11.0.3.bb => qemu-system-native_11.1.0.bb} (100%)
delete mode 100644 meta/recipes-devtools/qemu/qemu/0012-meson-fix-close_range-detection-on-older-glibc.patchmeta/recipes-devtools/qemu/qemu-native_11.1.0.bb renamed from meta/recipes-devtools/qemu/qemu-native_11.0.3.bb +0 -0
meta/recipes-devtools/qemu/qemu-system-native_11.1.0.bb renamed from meta/recipes-devtools/qemu/qemu-system-native_11.0.3.bb +0 -0
meta/recipes-devtools/qemu/qemu.inc +1 -4
@@ -32,8 +32,6 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ file://0008-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch \ file://0010-configure-lookup-meson-exutable-from-PATH.patch \ file://0011-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-.patch \ - file://0012-meson-fix-close_range-detection-on-older-glibc.patch \ - file://0013-hw-scsi-vhost-scsi-include-standard-headers-for-vhost-worker-structs.patch \ file://qemu-guest-agent.init \ file://qemu-guest-agent.udev \ file://0001-ui-sdl2.c-force-disable-SDL_HINT_VIDEO_X11_FORCE_EGL.patch \
@@ -42,7 +40,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ UPSTREAM_CHECK_URI = "https://www.qemu.org" UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar" -SRC_URI[sha256sum] = "da5fcffc32762820568b828ed430a728864d34d50b6d2f30358597760cbb0523" +SRC_URI[sha256sum] = "6ee1d1a61f68212476b27108c26da5f449dc09b626d42f8279ba0dc2e08fa858" CVE_STATUS[CVE-2007-0998] = "not-applicable-config: The VNC server can expose host files uder some circumstances. We don't enable it by default."
@@ -213,7 +211,6 @@ PACKAGECONFIG[spice] = "--enable-spice,--disable-spice,spice" PACKAGECONFIG[dbus-display] = "--enable-dbus-display,--disable-dbus-display,glib-2.0-native,dbus" PACKAGECONFIG[usb-redir] = "--enable-usb-redir,--disable-usb-redir,usbredir" PACKAGECONFIG[snappy] = "--enable-snappy,--disable-snappy,snappy" -PACKAGECONFIG[glusterfs] = "--enable-glusterfs,--disable-glusterfs,glusterfs" PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon" PACKAGECONFIG[libudev] = "--enable-libudev,--disable-libudev,udev" PACKAGECONFIG[attr] = "--enable-attr,--disable-attr,attr,"
meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch +12 -5
@@ -1,4 +1,4 @@ -From 3d7bf86f69b5ff80dbe54dc2b3bd3dba0971e0ac Mon Sep 17 00:00:00 2001 +From 8342d13939436afab61bf231574e116686484d1c Mon Sep 17 00:00:00 2001 From: Changqing Li <[email protected]> Date: Thu, 14 Jan 2021 06:33:04 +0000 Subject: [PATCH] tests/meson.build: use relative path to refer to files
@@ -12,15 +12,19 @@ filename too long. Fixed by using relative path to refer to files Upstream-Status: Submitted [send to qemu-devel] Signed-off-by: Changqing Li <[email protected]> + +Refresh to apply on v11.1.0. + +Signed-off-by: Trevor Gamblin <[email protected]> --- tests/unit/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/meson.build b/tests/unit/meson.build -index f768e882a..9c7931a87 100644 +index dc3fb954c0..914845b221 100644 --- a/tests/unit/meson.build +++ b/tests/unit/meson.build -@@ -125,17 +125,17 @@ endif +@@ -127,17 +127,17 @@ endif if have_system tests += {
@@ -39,5 +43,8 @@ index f768e882a..9c7931a87 100644 - 'test-smp-parse': [qom, meson.project_source_root() / 'hw/core/machine-smp.c'], + 'test-smp-parse': [qom, '../../hw/core/machine-smp.c'], 'test-vmstate': [migration, io], - 'test-yank': ['socket-helpers.c', qom, io, chardev] - } + 'test-yank': ['socket-helpers.c', qom, io, chardev], + 'test-ram-discard-manager': [ +-- +2.55.0 +
meta/recipes-devtools/qemu/qemu/0012-meson-fix-close_range-detection-on-older-glibc.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From b2b9a9e38f20fb8aa6ed26a3c38962651e3a9eae Mon Sep 17 00:00:00 2001 -From: Quan Sun <[email protected]> -Date: Fri, 5 Jun 2026 11:54:57 +0000 -Subject: [PATCH] meson: fix close_range detection on older glibc - -The has_function('close_range') check succeeds at link time on hosts -with kernel >= 5.9 even when glibc does not declare the function -(glibc < 2.34, e.g. AlmaLinux 8 / CentOS 8 with glibc 2.28). This -causes CONFIG_CLOSE_RANGE to be set, but compilation then fails with: - - error: implicit declaration of function 'close_range' [-Wimplicit-function-declaration] - -Fix by adding a prefix that includes <unistd.h>, so the meson check -only succeeds when the C library actually declares close_range() in -its headers. When the check fails, the existing fallback path in -oslib-posix.c (which returns false and falls through to the /proc -based fd closing) is used instead. - -Upstream-Status: Submitted [https://lore.kernel.org/qemu-devel/[email protected]/] - -Signed-off-by: Quan Sun <[email protected]> ---- - meson.build | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 51f5f2851..4353200db 100644 ---- a/meson.build -+++ b/meson.build -@@ -2637,7 +2637,8 @@ if host_os == 'windows' - endif - - # has_function --config_host_data.set('CONFIG_CLOSE_RANGE', cc.has_function('close_range')) -+config_host_data.set('CONFIG_CLOSE_RANGE', -+ cc.has_function('close_range', prefix: '#include <unistd.h>')) - config_host_data.set('CONFIG_ACCEPT4', cc.has_function('accept4')) - config_host_data.set('CONFIG_CLOCK_ADJTIME', cc.has_function('clock_adjtime')) - config_host_data.set('CONFIG_DUP3', cc.has_function('dup3'))
Signature · 1 line
2.55.0
Patchtest results for [OE-core][PATCH] qemu: upgrade 11.0.3 -> 11.1.0
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:
---
Testing patch /home/patchtest/share/mboxes/qemu-upgrade-11.0.3---11.1.0.patch
FAIL: test src uri left files: Patches not removed from tree. Remove them and amend the submitted mbox (test_metadata.TestMetadata.test_src_uri_left_files)
PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test auh changelog truncation notice (test_mbox.TestMbox.test_auh_changelog_truncation_notice)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test lic files chksum modified not mentioned (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)
SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new source patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new source patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new source patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)
---
Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!