* [ptxdist] [PATCH 1/2] qemu: Version bump. 6.2.0 -> 7.0.0
@ 2022-06-29 20:30 Christian Melki
2022-06-29 20:30 ` [ptxdist] [PATCH 2/2] host-qemu: Follow the changes of target qemu 7.0.0 Christian Melki
2022-07-29 6:23 ` [ptxdist] [APPLIED] qemu: Version bump. 6.2.0 -> 7.0.0 Michael Olbrich
0 siblings, 2 replies; 4+ messages in thread
From: Christian Melki @ 2022-06-29 20:30 UTC (permalink / raw)
To: ptxdist
A new major release of qemu.
https://wiki.qemu.org/ChangeLog/7.0
Plugs CVEs: CVE-2021-20295, CVE-2022-1050, CVE-2022-26353,
CVE-2022-26354 and CVE-2022-0358.
* Remove deleted configure options libxml2, xfsctl.
* Disable block replication. Wouldn't build, investigation ongoing.
* Forward ptxdist patches to this version.
* Delete old patch set.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
...low-real-symlinks-for-security_model-mapped-f.patch | 10 +++++-----
.../0002-let-ninja-use-the-jobserver.patch | 4 ++--
patches/{qemu-6.2.0 => qemu-7.0.0}/series | 0
rules/qemu.make | 8 +++-----
4 files changed, 10 insertions(+), 12 deletions(-)
rename patches/{qemu-6.2.0 => qemu-7.0.0}/0001-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch (91%)
rename patches/{qemu-6.2.0 => qemu-7.0.0}/0002-let-ninja-use-the-jobserver.patch (88%)
rename patches/{qemu-6.2.0 => qemu-7.0.0}/series (100%)
diff --git a/patches/qemu-6.2.0/0001-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch b/patches/qemu-7.0.0/0001-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
similarity index 91%
rename from patches/qemu-6.2.0/0001-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
rename to patches/qemu-7.0.0/0001-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
index 27fea6364..6299ba1f6 100644
--- a/patches/qemu-6.2.0/0001-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
+++ b/patches/qemu-7.0.0/0001-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
@@ -11,10 +11,10 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
1 file changed, 29 insertions(+), 15 deletions(-)
diff --git a/hw/9pfs/9p-local.c b/hw/9pfs/9p-local.c
-index 210d9e7705df..92ecfec34b1c 100644
+index d42ce6d8b822..559573008eec 100644
--- a/hw/9pfs/9p-local.c
+++ b/hw/9pfs/9p-local.c
-@@ -460,8 +460,7 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
+@@ -462,8 +462,7 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
{
ssize_t tsize = -1;
@@ -24,7 +24,7 @@ index 210d9e7705df..92ecfec34b1c 100644
int fd;
fd = local_open_nofollow(fs_ctx, fs_path->data, O_RDONLY, 0);
-@@ -473,6 +472,7 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
+@@ -475,6 +474,7 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
} while (tsize == -1 && errno == EINTR);
close_preserve_errno(fd);
} else if ((fs_ctx->export_flags & V9FS_SM_PASSTHROUGH) ||
@@ -32,7 +32,7 @@ index 210d9e7705df..92ecfec34b1c 100644
(fs_ctx->export_flags & V9FS_SM_NONE)) {
char *dirpath = g_path_get_dirname(fs_path->data);
char *name = g_path_get_basename(fs_path->data);
-@@ -484,6 +484,17 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
+@@ -486,6 +486,17 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
}
tsize = readlinkat(dirfd, name, buf, bufsz);
@@ -50,7 +50,7 @@ index 210d9e7705df..92ecfec34b1c 100644
close_preserve_errno(dirfd);
out:
g_free(name);
-@@ -886,20 +897,23 @@ static int local_symlink(FsContext *fs_ctx, const char *oldpath,
+@@ -901,20 +912,23 @@ static int local_symlink(FsContext *fs_ctx, const char *oldpath,
int fd;
ssize_t oldpath_size, write_size;
diff --git a/patches/qemu-6.2.0/0002-let-ninja-use-the-jobserver.patch b/patches/qemu-7.0.0/0002-let-ninja-use-the-jobserver.patch
similarity index 88%
rename from patches/qemu-6.2.0/0002-let-ninja-use-the-jobserver.patch
rename to patches/qemu-7.0.0/0002-let-ninja-use-the-jobserver.patch
index 5df864c39..14559418f 100644
--- a/patches/qemu-6.2.0/0002-let-ninja-use-the-jobserver.patch
+++ b/patches/qemu-7.0.0/0002-let-ninja-use-the-jobserver.patch
@@ -11,7 +11,7 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
-index 74c5b46d38b5..4b3e390e8947 100644
+index e5fd1ebdf619..23128172d02a 100644
--- a/Makefile
+++ b/Makefile
@@ -142,7 +142,7 @@ MAKE.k = $(findstring k,$(firstword $(filter-out --%,$(MAKEFLAGS))))
@@ -22,4 +22,4 @@ index 74c5b46d38b5..4b3e390e8947 100644
+ $(filter-out -j, $(lastword $(filter -l% -j%, $(MAKEFLAGS)))) \
ninja-cmd-goals = $(or $(MAKECMDGOALS), all)
- ninja-cmd-goals += $(foreach t, $(.tests), $(.test.deps.$t))
+ ninja-cmd-goals += $(foreach t, $(.check.build-suites), $(.check-$t.deps))
diff --git a/patches/qemu-6.2.0/series b/patches/qemu-7.0.0/series
similarity index 100%
rename from patches/qemu-6.2.0/series
rename to patches/qemu-7.0.0/series
diff --git a/rules/qemu.make b/rules/qemu.make
index fad87903f..6e8445124 100644
--- a/rules/qemu.make
+++ b/rules/qemu.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_QEMU) += qemu
#
# Paths and names
#
-QEMU_VERSION := 6.2.0
-QEMU_MD5 := a077669ce58b6ee07ec355e54aad25be
+QEMU_VERSION := 7.0.0
+QEMU_MD5 := bfb5b09a0d1f887c8c42a6d5f26971ab
QEMU := qemu-$(QEMU_VERSION)
QEMU_SUFFIX := tar.xz
QEMU_URL := https://download.qemu.org/$(QEMU).$(QEMU_SUFFIX)
@@ -101,7 +101,6 @@ QEMU_CONF_OPT := \
--disable-libpmem \
--disable-libudev \
--$(call ptx/endis, PTXCONF_QEMU_SYS)-libusb \
- --disable-libxml2 \
--disable-linux-aio \
--disable-linux-io-uring \
--disable-lzfse \
@@ -169,9 +168,8 @@ QEMU_CONF_OPT := \
--disable-tpm \
--disable-libssh \
--disable-numa \
- --enable-replication \
+ --disable-replication \
--disable-opengl \
- --disable-xfsctl \
--disable-qom-cast-debug \
--$(call ptx/endis, PTXCONF_QEMU_TOOLS)-tools \
--disable-bochs \
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ptxdist] [PATCH 2/2] host-qemu: Follow the changes of target qemu 7.0.0.
2022-06-29 20:30 [ptxdist] [PATCH 1/2] qemu: Version bump. 6.2.0 -> 7.0.0 Christian Melki
@ 2022-06-29 20:30 ` Christian Melki
2022-07-29 6:23 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-07-29 6:23 ` [ptxdist] [APPLIED] qemu: Version bump. 6.2.0 -> 7.0.0 Michael Olbrich
1 sibling, 1 reply; 4+ messages in thread
From: Christian Melki @ 2022-06-29 20:30 UTC (permalink / raw)
To: ptxdist
* Remove deleted configure options libxml2, xfsctl.
* Disable block replication. Wouldn't build, investigation ongoing.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
rules/host-qemu.make | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/rules/host-qemu.make b/rules/host-qemu.make
index 8c39722a9..1f1f2581a 100644
--- a/rules/host-qemu.make
+++ b/rules/host-qemu.make
@@ -103,7 +103,6 @@ HOST_QEMU_CONF_OPT := \
--disable-libpmem \
--disable-libudev \
--$(call ptx/endis, PTXCONF_HOST_QEMU_SYS)-libusb \
- --disable-libxml2 \
--disable-linux-aio \
--disable-linux-io-uring \
--disable-lzfse \
@@ -170,9 +169,8 @@ HOST_QEMU_CONF_OPT := \
--disable-tpm \
--disable-libssh \
--disable-numa \
- --enable-replication \
+ --disable-replication \
--disable-opengl \
- --disable-xfsctl \
--disable-qom-cast-debug \
--disable-tools \
--disable-bochs \
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [APPLIED] qemu: Version bump. 6.2.0 -> 7.0.0
2022-06-29 20:30 [ptxdist] [PATCH 1/2] qemu: Version bump. 6.2.0 -> 7.0.0 Christian Melki
2022-06-29 20:30 ` [ptxdist] [PATCH 2/2] host-qemu: Follow the changes of target qemu 7.0.0 Christian Melki
@ 2022-07-29 6:23 ` Michael Olbrich
1 sibling, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2022-07-29 6:23 UTC (permalink / raw)
To: ptxdist; +Cc: Christian Melki
Thanks, applied as 5e02fe9885725b2137bbcdd8f727442aa19360d9.
Michael
[sent from post-receive hook]
On Fri, 29 Jul 2022 08:23:13 +0200, Christian Melki <christian.melki@t2data.com> wrote:
> A new major release of qemu.
> https://wiki.qemu.org/ChangeLog/7.0
>
> Plugs CVEs: CVE-2021-20295, CVE-2022-1050, CVE-2022-26353,
> CVE-2022-26354 and CVE-2022-0358.
>
> * Remove deleted configure options libxml2, xfsctl.
> * Disable block replication. Wouldn't build, investigation ongoing.
> * Forward ptxdist patches to this version.
> * Delete old patch set.
>
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20220629203012.2126598-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/patches/qemu-6.2.0/0001-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch b/patches/qemu-7.0.0/0001-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> similarity index 91%
> rename from patches/qemu-6.2.0/0001-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> rename to patches/qemu-7.0.0/0001-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> index 27fea636420f..6299ba1f61b5 100644
> --- a/patches/qemu-6.2.0/0001-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> +++ b/patches/qemu-7.0.0/0001-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> @@ -11,10 +11,10 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 1 file changed, 29 insertions(+), 15 deletions(-)
>
> diff --git a/hw/9pfs/9p-local.c b/hw/9pfs/9p-local.c
> -index 210d9e7705df..92ecfec34b1c 100644
> +index d42ce6d8b822..559573008eec 100644
> --- a/hw/9pfs/9p-local.c
> +++ b/hw/9pfs/9p-local.c
> -@@ -460,8 +460,7 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
> +@@ -462,8 +462,7 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
> {
> ssize_t tsize = -1;
>
> @@ -24,7 +24,7 @@ index 210d9e7705df..92ecfec34b1c 100644
> int fd;
>
> fd = local_open_nofollow(fs_ctx, fs_path->data, O_RDONLY, 0);
> -@@ -473,6 +472,7 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
> +@@ -475,6 +474,7 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
> } while (tsize == -1 && errno == EINTR);
> close_preserve_errno(fd);
> } else if ((fs_ctx->export_flags & V9FS_SM_PASSTHROUGH) ||
> @@ -32,7 +32,7 @@ index 210d9e7705df..92ecfec34b1c 100644
> (fs_ctx->export_flags & V9FS_SM_NONE)) {
> char *dirpath = g_path_get_dirname(fs_path->data);
> char *name = g_path_get_basename(fs_path->data);
> -@@ -484,6 +484,17 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
> +@@ -486,6 +486,17 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
> }
>
> tsize = readlinkat(dirfd, name, buf, bufsz);
> @@ -50,7 +50,7 @@ index 210d9e7705df..92ecfec34b1c 100644
> close_preserve_errno(dirfd);
> out:
> g_free(name);
> -@@ -886,20 +897,23 @@ static int local_symlink(FsContext *fs_ctx, const char *oldpath,
> +@@ -901,20 +912,23 @@ static int local_symlink(FsContext *fs_ctx, const char *oldpath,
> int fd;
> ssize_t oldpath_size, write_size;
>
> diff --git a/patches/qemu-6.2.0/0002-let-ninja-use-the-jobserver.patch b/patches/qemu-7.0.0/0002-let-ninja-use-the-jobserver.patch
> similarity index 88%
> rename from patches/qemu-6.2.0/0002-let-ninja-use-the-jobserver.patch
> rename to patches/qemu-7.0.0/0002-let-ninja-use-the-jobserver.patch
> index 5df864c39894..14559418f0e6 100644
> --- a/patches/qemu-6.2.0/0002-let-ninja-use-the-jobserver.patch
> +++ b/patches/qemu-7.0.0/0002-let-ninja-use-the-jobserver.patch
> @@ -11,7 +11,7 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> -index 74c5b46d38b5..4b3e390e8947 100644
> +index e5fd1ebdf619..23128172d02a 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -142,7 +142,7 @@ MAKE.k = $(findstring k,$(firstword $(filter-out --%,$(MAKEFLAGS))))
> @@ -22,4 +22,4 @@ index 74c5b46d38b5..4b3e390e8947 100644
> + $(filter-out -j, $(lastword $(filter -l% -j%, $(MAKEFLAGS)))) \
>
> ninja-cmd-goals = $(or $(MAKECMDGOALS), all)
> - ninja-cmd-goals += $(foreach t, $(.tests), $(.test.deps.$t))
> + ninja-cmd-goals += $(foreach t, $(.check.build-suites), $(.check-$t.deps))
> diff --git a/patches/qemu-6.2.0/series b/patches/qemu-7.0.0/series
> similarity index 100%
> rename from patches/qemu-6.2.0/series
> rename to patches/qemu-7.0.0/series
> diff --git a/rules/qemu.make b/rules/qemu.make
> index fad87903f396..6e8445124fe9 100644
> --- a/rules/qemu.make
> +++ b/rules/qemu.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_QEMU) += qemu
> #
> # Paths and names
> #
> -QEMU_VERSION := 6.2.0
> -QEMU_MD5 := a077669ce58b6ee07ec355e54aad25be
> +QEMU_VERSION := 7.0.0
> +QEMU_MD5 := bfb5b09a0d1f887c8c42a6d5f26971ab
> QEMU := qemu-$(QEMU_VERSION)
> QEMU_SUFFIX := tar.xz
> QEMU_URL := https://download.qemu.org/$(QEMU).$(QEMU_SUFFIX)
> @@ -101,7 +101,6 @@ QEMU_CONF_OPT := \
> --disable-libpmem \
> --disable-libudev \
> --$(call ptx/endis, PTXCONF_QEMU_SYS)-libusb \
> - --disable-libxml2 \
> --disable-linux-aio \
> --disable-linux-io-uring \
> --disable-lzfse \
> @@ -169,9 +168,8 @@ QEMU_CONF_OPT := \
> --disable-tpm \
> --disable-libssh \
> --disable-numa \
> - --enable-replication \
> + --disable-replication \
> --disable-opengl \
> - --disable-xfsctl \
> --disable-qom-cast-debug \
> --$(call ptx/endis, PTXCONF_QEMU_TOOLS)-tools \
> --disable-bochs \
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [APPLIED] host-qemu: Follow the changes of target qemu 7.0.0.
2022-06-29 20:30 ` [ptxdist] [PATCH 2/2] host-qemu: Follow the changes of target qemu 7.0.0 Christian Melki
@ 2022-07-29 6:23 ` Michael Olbrich
0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2022-07-29 6:23 UTC (permalink / raw)
To: ptxdist; +Cc: Christian Melki
Thanks, applied as 30c959b069d0d7f02922f8047a30671221c5154c.
Michael
[sent from post-receive hook]
On Fri, 29 Jul 2022 08:23:14 +0200, Christian Melki <christian.melki@t2data.com> wrote:
> * Remove deleted configure options libxml2, xfsctl.
> * Disable block replication. Wouldn't build, investigation ongoing.
>
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20220629203012.2126598-2-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/host-qemu.make b/rules/host-qemu.make
> index 8c39722a9836..1f1f2581a489 100644
> --- a/rules/host-qemu.make
> +++ b/rules/host-qemu.make
> @@ -103,7 +103,6 @@ HOST_QEMU_CONF_OPT := \
> --disable-libpmem \
> --disable-libudev \
> --$(call ptx/endis, PTXCONF_HOST_QEMU_SYS)-libusb \
> - --disable-libxml2 \
> --disable-linux-aio \
> --disable-linux-io-uring \
> --disable-lzfse \
> @@ -170,9 +169,8 @@ HOST_QEMU_CONF_OPT := \
> --disable-tpm \
> --disable-libssh \
> --disable-numa \
> - --enable-replication \
> + --disable-replication \
> --disable-opengl \
> - --disable-xfsctl \
> --disable-qom-cast-debug \
> --disable-tools \
> --disable-bochs \
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-07-29 6:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29 20:30 [ptxdist] [PATCH 1/2] qemu: Version bump. 6.2.0 -> 7.0.0 Christian Melki
2022-06-29 20:30 ` [ptxdist] [PATCH 2/2] host-qemu: Follow the changes of target qemu 7.0.0 Christian Melki
2022-07-29 6:23 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-07-29 6:23 ` [ptxdist] [APPLIED] qemu: Version bump. 6.2.0 -> 7.0.0 Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox