summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Melki <christian.melki@t2data.com>2022-09-22 10:39:23 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2022-09-23 08:23:37 +0200
commit174951e837490428de5b53156c6667f232f701af (patch)
treef704bb477e6bac914528aa861564b74e7857ba17
parent0dabc5a09715b7ec1e77544e620d0499e27c6254 (diff)
downloadptxdist-174951e837490428de5b53156c6667f232f701af.tar.gz
ptxdist-174951e837490428de5b53156c6667f232f701af.tar.xz
qemu: Version bump. 7.0.0 -> 7.1.0
https://wiki.qemu.org/ChangeLog/7.1 Fixes CVE-2022-35414. * Removed a few deprecated configure options. * Remove a patch which is now included. * Forward the two ptxdist specific patches. Signed-off-by: Christian Melki <christian.melki@t2data.com> Message-Id: <20220922083923.3917979-1-christian.melki@t2data.com> Message-Id: <20220922163125.1749628-1-christian.melki@t2data.com> [mol: squashed host-qemu changes] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--patches/qemu-7.0.0/0001-common-user-Only-compile-the-common-user-code-if-hav.patch32
-rw-r--r--patches/qemu-7.1.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch (renamed from patches/qemu-7.0.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch)0
-rw-r--r--patches/qemu-7.1.0/0101-let-ninja-use-the-jobserver.patch (renamed from patches/qemu-7.0.0/0101-let-ninja-use-the-jobserver.patch)4
-rw-r--r--patches/qemu-7.1.0/series (renamed from patches/qemu-7.0.0/series)3
-rw-r--r--rules/host-qemu.make3
-rw-r--r--rules/qemu.make7
6 files changed, 5 insertions, 44 deletions
diff --git a/patches/qemu-7.0.0/0001-common-user-Only-compile-the-common-user-code-if-hav.patch b/patches/qemu-7.0.0/0001-common-user-Only-compile-the-common-user-code-if-hav.patch
deleted file mode 100644
index 50e73f714..000000000
--- a/patches/qemu-7.0.0/0001-common-user-Only-compile-the-common-user-code-if-hav.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From: Thomas Huth <thuth@redhat.com>
-Date: Wed, 22 Jun 2022 16:03:28 +0200
-Subject: [PATCH] common-user: Only compile the common user code if have_user
- is set
-
-There is no need to waste cycles here if we only compile the system
-binaries or tools. Additionally, this change is even a hard requirement
-for building the tools on systems that do not have an entry in the
-common-user/host/ folder (since common-user/meson.build is trying
-to add such a path via the include_directories() command).
-
-Reported-by: Michael Tokarev <mjt@tls.msk.ru>
-Signed-off-by: Thomas Huth <thuth@redhat.com>
-Reviewed-by: Zhang Chen <chen.zhang@intel.com>
-Message-Id: <20220622140328.383961-1-thuth@redhat.com>
-Signed-off-by: Laurent Vivier <laurent@vivier.eu>
----
- common-user/meson.build | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/common-user/meson.build b/common-user/meson.build
-index 26212dda5c7a..ac9de5b9e3f5 100644
---- a/common-user/meson.build
-+++ b/common-user/meson.build
-@@ -1,3 +1,7 @@
-+if not have_user
-+ subdir_done()
-+endif
-+
- common_user_inc += include_directories('host/' / host_arch)
-
- user_ss.add(files(
diff --git a/patches/qemu-7.0.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch b/patches/qemu-7.1.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
index 6299ba1f6..6299ba1f6 100644
--- a/patches/qemu-7.0.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
+++ b/patches/qemu-7.1.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
diff --git a/patches/qemu-7.0.0/0101-let-ninja-use-the-jobserver.patch b/patches/qemu-7.1.0/0101-let-ninja-use-the-jobserver.patch
index 14559418f..d54558a93 100644
--- a/patches/qemu-7.0.0/0101-let-ninja-use-the-jobserver.patch
+++ b/patches/qemu-7.1.0/0101-let-ninja-use-the-jobserver.patch
@@ -20,6 +20,6 @@ index e5fd1ebdf619..23128172d02a 100644
NINJAFLAGS = $(if $V,-v) $(if $(MAKE.n), -n) $(if $(MAKE.k), -k0) \
- $(filter-out -j, $(lastword -j1 $(filter -l% -j%, $(MAKEFLAGS)))) \
+ $(filter-out -j, $(lastword $(filter -l% -j%, $(MAKEFLAGS)))) \
-
+ -d keepdepfile
ninja-cmd-goals = $(or $(MAKECMDGOALS), all)
- ninja-cmd-goals += $(foreach t, $(.check.build-suites), $(.check-$t.deps))
+ ninja-cmd-goals += $(foreach g, $(MAKECMDGOALS), $(.ninja-goals.$g))))
diff --git a/patches/qemu-7.0.0/series b/patches/qemu-7.1.0/series
index 4b1e373cf..ec7952135 100644
--- a/patches/qemu-7.0.0/series
+++ b/patches/qemu-7.1.0/series
@@ -1,8 +1,7 @@
# generated by git-ptx-patches
#tag:base --start-number 1
#tag:upstream --start-number 1
-0001-common-user-Only-compile-the-common-user-code-if-hav.patch
#tag:ptxdist --start-number 100
0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
0101-let-ninja-use-the-jobserver.patch
-# c72c8a5f60a89d87f9a2f2626984b5e1 - git-ptx-patches magic
+# d0eda0596eed74d4819c34cafa02bf39 - git-ptx-patches magic
diff --git a/rules/host-qemu.make b/rules/host-qemu.make
index 1f1f2581a..0c3a89a6e 100644
--- a/rules/host-qemu.make
+++ b/rules/host-qemu.make
@@ -134,7 +134,6 @@ HOST_QEMU_CONF_OPT := \
--disable-virtiofsd \
--disable-vnc \
--disable-vnc-jpeg \
- --disable-vnc-png \
--disable-vnc-sasl \
--disable-vte \
--disable-whpx \
@@ -158,8 +157,6 @@ HOST_QEMU_CONF_OPT := \
--disable-rdma \
--disable-pvrdma \
--enable-vhost-net \
- --enable-vhost-vsock \
- --enable-vhost-scsi \
--disable-vhost-crypto \
--enable-vhost-kernel \
--disable-vhost-user \
diff --git a/rules/qemu.make b/rules/qemu.make
index 6e8445124..579715684 100644
--- a/rules/qemu.make
+++ b/rules/qemu.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_QEMU) += qemu
#
# Paths and names
#
-QEMU_VERSION := 7.0.0
-QEMU_MD5 := bfb5b09a0d1f887c8c42a6d5f26971ab
+QEMU_VERSION := 7.1.0
+QEMU_MD5 := 3be5458a9171b4ec5220c65d5d52bdcf
QEMU := qemu-$(QEMU_VERSION)
QEMU_SUFFIX := tar.xz
QEMU_URL := https://download.qemu.org/$(QEMU).$(QEMU_SUFFIX)
@@ -133,7 +133,6 @@ QEMU_CONF_OPT := \
--disable-virtiofsd \
--disable-vnc \
--disable-vnc-jpeg \
- --disable-vnc-png \
--disable-vnc-sasl \
--disable-vte \
--disable-whpx \
@@ -157,8 +156,6 @@ QEMU_CONF_OPT := \
--disable-rdma \
--disable-pvrdma \
--enable-vhost-net \
- --enable-vhost-vsock \
- --enable-vhost-scsi \
--disable-vhost-crypto \
--enable-vhost-kernel \
--disable-vhost-user \