diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-04 21:23:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-05 14:06:10 +0000 |
commit | 25868ee2cc3fdcbf4bff1ff4f66465e8aeef744d (patch) | |
tree | 6b40209b8146449167bb041ae57bd5f7779a7fe4 /meta/recipes-devtools/qemu | |
parent | 3558ee528f50603a07a522d866d4e95e3e929e48 (diff) | |
download | poky-25868ee2cc3fdcbf4bff1ff4f66465e8aeef744d.tar.gz |
qemu: Upgrade 8.2.0 -> 8.2.1
This was a bugfix release containing several important fixes according to upstream.
Drop a backported patch.
(From OE-Core rev: 1715d0907d372e787c054a5509690a2719acfed0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-native_8.2.1.bb (renamed from meta/recipes-devtools/qemu/qemu-native_8.2.0.bb) | 0 | ||||
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-system-native_8.2.1.bb (renamed from meta/recipes-devtools/qemu/qemu-system-native_8.2.0.bb) | 0 | ||||
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/qemu/qemu/0001-vfio-container-Replace-basename-with-g_path_get_base.patch | 50 | ||||
-rw-r--r-- | meta/recipes-devtools/qemu/qemu_8.2.1.bb (renamed from meta/recipes-devtools/qemu/qemu_8.2.0.bb) | 0 |
5 files changed, 1 insertions, 52 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-native_8.2.0.bb b/meta/recipes-devtools/qemu/qemu-native_8.2.1.bb index a77953529b..a77953529b 100644 --- a/meta/recipes-devtools/qemu/qemu-native_8.2.0.bb +++ b/meta/recipes-devtools/qemu/qemu-native_8.2.1.bb | |||
diff --git a/meta/recipes-devtools/qemu/qemu-system-native_8.2.0.bb b/meta/recipes-devtools/qemu/qemu-system-native_8.2.1.bb index 0634b34242..0634b34242 100644 --- a/meta/recipes-devtools/qemu/qemu-system-native_8.2.0.bb +++ b/meta/recipes-devtools/qemu/qemu-system-native_8.2.1.bb | |||
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 14b975db30..2a81870151 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
@@ -32,7 +32,6 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ | |||
32 | file://0010-hw-pvrdma-Protect-against-buggy-or-malicious-guest-d.patch \ | 32 | file://0010-hw-pvrdma-Protect-against-buggy-or-malicious-guest-d.patch \ |
33 | file://0002-linux-user-Replace-use-of-lfs64-related-functions-an.patch \ | 33 | file://0002-linux-user-Replace-use-of-lfs64-related-functions-an.patch \ |
34 | file://fixedmeson.patch \ | 34 | file://fixedmeson.patch \ |
35 | file://0001-vfio-container-Replace-basename-with-g_path_get_base.patch \ | ||
36 | file://no-pip.patch \ | 35 | file://no-pip.patch \ |
37 | file://fix_segv.patch \ | 36 | file://fix_segv.patch \ |
38 | file://qemu-guest-agent.init \ | 37 | file://qemu-guest-agent.init \ |
@@ -53,7 +52,7 @@ SRC_URI:append:class-native = " \ | |||
53 | file://0012-linux-user-workaround-for-missing-MAP_SHARED_VALIDAT.patch \ | 52 | file://0012-linux-user-workaround-for-missing-MAP_SHARED_VALIDAT.patch \ |
54 | " | 53 | " |
55 | 54 | ||
56 | SRC_URI[sha256sum] = "bf00d2fa12010df8b0ade93371def58e632cb32a6bfdc5f5a0ff8e6a1fb1bf32" | 55 | SRC_URI[sha256sum] = "8562751158175f9d187c5f22b57555abe3c870f0325c8ced12c34c6d987729be" |
57 | 56 | ||
58 | CVE_STATUS[CVE-2017-5957] = "cpe-incorrect: Applies against virglrender < 0.6.0 and not qemu itself" | 57 | CVE_STATUS[CVE-2017-5957] = "cpe-incorrect: Applies against virglrender < 0.6.0 and not qemu itself" |
59 | 58 | ||
diff --git a/meta/recipes-devtools/qemu/qemu/0001-vfio-container-Replace-basename-with-g_path_get_base.patch b/meta/recipes-devtools/qemu/qemu/0001-vfio-container-Replace-basename-with-g_path_get_base.patch deleted file mode 100644 index ad4f410178..0000000000 --- a/meta/recipes-devtools/qemu/qemu/0001-vfio-container-Replace-basename-with-g_path_get_base.patch +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | From 213ae3ffda463c0503e39e0cf827511b5298c314 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= <clg@redhat.com> | ||
3 | Date: Wed, 20 Dec 2023 14:53:02 +0100 | ||
4 | Subject: [PATCH] vfio/container: Replace basename with g_path_get_basename | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | g_path_get_basename() is a portable utility function that has the | ||
10 | advantage of not modifing the string argument. It also fixes a compile | ||
11 | breakage with the Musl C library reported in [1]. | ||
12 | |||
13 | [1] https://lore.kernel.org/all/20231212010228.2701544-1-raj.khem@gmail.com/ | ||
14 | |||
15 | Upstream-Status: Backport [https://github.com/qemu/qemu/commit/213ae3ffda463c0503e39e0cf827511b5298c314] | ||
16 | Reported-by: Khem Raj <raj.khem@gmail.com> | ||
17 | Reviewed-by: Eric Auger <eric.auger@redhat.com> | ||
18 | Reviewed-by: Zhao Liu <zhao1.liu@intel.com> | ||
19 | Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com> | ||
20 | Signed-off-by: Cédric Le Goater <clg@redhat.com> | ||
21 | --- | ||
22 | hw/vfio/container.c | 5 +++-- | ||
23 | 1 file changed, 3 insertions(+), 2 deletions(-) | ||
24 | |||
25 | diff --git a/hw/vfio/container.c b/hw/vfio/container.c | ||
26 | index 688cf23bab..8d334f52f2 100644 | ||
27 | --- a/hw/vfio/container.c | ||
28 | +++ b/hw/vfio/container.c | ||
29 | @@ -869,7 +869,8 @@ static void vfio_put_base_device(VFIODevice *vbasedev) | ||
30 | |||
31 | static int vfio_device_groupid(VFIODevice *vbasedev, Error **errp) | ||
32 | { | ||
33 | - char *tmp, group_path[PATH_MAX], *group_name; | ||
34 | + char *tmp, group_path[PATH_MAX]; | ||
35 | + g_autofree char *group_name = NULL; | ||
36 | int ret, groupid; | ||
37 | ssize_t len; | ||
38 | |||
39 | @@ -885,7 +886,7 @@ static int vfio_device_groupid(VFIODevice *vbasedev, Error **errp) | ||
40 | |||
41 | group_path[len] = 0; | ||
42 | |||
43 | - group_name = basename(group_path); | ||
44 | + group_name = g_path_get_basename(group_path); | ||
45 | if (sscanf(group_name, "%d", &groupid) != 1) { | ||
46 | error_setg_errno(errp, errno, "failed to read %s", group_path); | ||
47 | return -errno; | ||
48 | -- | ||
49 | 2.43.0 | ||
50 | |||
diff --git a/meta/recipes-devtools/qemu/qemu_8.2.0.bb b/meta/recipes-devtools/qemu/qemu_8.2.1.bb index dc1352232e..dc1352232e 100644 --- a/meta/recipes-devtools/qemu/qemu_8.2.0.bb +++ b/meta/recipes-devtools/qemu/qemu_8.2.1.bb | |||