mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] qemu: Version bump. 8.0.4 -> 8.1.0
@ 2023-08-23 20:30 Christian Melki
  2023-08-23 20:30 ` [ptxdist] [PATCH 2/2] host-qemu: Follow target qemu version 8.1.0 bump Christian Melki
  2023-09-04  6:30 ` [ptxdist] [APPLIED] qemu: Version bump. 8.0.4 -> 8.1.0 Michael Olbrich
  0 siblings, 2 replies; 4+ messages in thread
From: Christian Melki @ 2023-08-23 20:30 UTC (permalink / raw)
  To: ptxdist

Bunch of changes. Mostly RISC-V. Pipewire addition.
https://wiki.qemu.org/ChangeLog/8.1

* Plugs CVEs:
CVE-2023-2861, CVE-2023-4135

* Forward patchset with minor line changes.

* Add pipewire support.

* Remove deprecated configure options and set others.

* Disable build system auto-download option.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 ...ow-real-symlinks-for-security_model-mapped-f.patch |  4 ++--
 .../0101-let-ninja-use-the-jobserver.patch            |  4 ++--
 patches/{qemu-8.0.4 => qemu-8.1.0}/series             |  0
 rules/qemu.in                                         |  7 +++++++
 rules/qemu.make                                       | 11 ++++++-----
 5 files changed, 17 insertions(+), 9 deletions(-)
 rename patches/{qemu-8.0.4 => qemu-8.1.0}/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch (97%)
 rename patches/{qemu-8.0.4 => qemu-8.1.0}/0101-let-ninja-use-the-jobserver.patch (90%)
 rename patches/{qemu-8.0.4 => qemu-8.1.0}/series (100%)

diff --git a/patches/qemu-8.0.4/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch b/patches/qemu-8.1.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
similarity index 97%
rename from patches/qemu-8.0.4/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
rename to patches/qemu-8.1.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
index 15f297782..46b75f8a9 100644
--- a/patches/qemu-8.0.4/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
+++ b/patches/qemu-8.1.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
@@ -11,7 +11,7 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
  1 file changed, 27 insertions(+), 13 deletions(-)
 
 diff --git a/hw/9pfs/9p-local.c b/hw/9pfs/9p-local.c
-index 9d07620235c2..376d5b095c76 100644
+index 1b1f3b9ec81e..d900dccaacb1 100644
 --- a/hw/9pfs/9p-local.c
 +++ b/hw/9pfs/9p-local.c
 @@ -462,8 +462,7 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
@@ -81,5 +81,5 @@ index 9d07620235c2..376d5b095c76 100644
 +                goto err_end;
 +            }
          }
-         /* Set cleint credentials in symlink's xattr */
+         /* Set client credentials in symlink's xattr */
          credp->fc_mode = credp->fc_mode | S_IFLNK;
diff --git a/patches/qemu-8.0.4/0101-let-ninja-use-the-jobserver.patch b/patches/qemu-8.1.0/0101-let-ninja-use-the-jobserver.patch
similarity index 90%
rename from patches/qemu-8.0.4/0101-let-ninja-use-the-jobserver.patch
rename to patches/qemu-8.1.0/0101-let-ninja-use-the-jobserver.patch
index 92fdb14b6..a1524c1d9 100644
--- a/patches/qemu-8.0.4/0101-let-ninja-use-the-jobserver.patch
+++ b/patches/qemu-8.1.0/0101-let-ninja-use-the-jobserver.patch
@@ -11,10 +11,10 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/Makefile b/Makefile
-index e421f8a1f4f7..0028d9996cdc 100644
+index 5d48dfac18a3..61a291a95903 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -145,7 +145,7 @@ MAKE.k = $(findstring k,$(firstword $(filter-out --%,$(MAKEFLAGS))))
+@@ -142,7 +142,7 @@ MAKE.k = $(findstring k,$(firstword $(filter-out --%,$(MAKEFLAGS))))
  MAKE.q = $(findstring q,$(firstword $(filter-out --%,$(MAKEFLAGS))))
  MAKE.nq = $(if $(word 2, $(MAKE.n) $(MAKE.q)),nq)
  NINJAFLAGS = $(if $V,-v) $(if $(MAKE.n), -n) $(if $(MAKE.k), -k0) \
diff --git a/patches/qemu-8.0.4/series b/patches/qemu-8.1.0/series
similarity index 100%
rename from patches/qemu-8.0.4/series
rename to patches/qemu-8.1.0/series
diff --git a/rules/qemu.in b/rules/qemu.in
index 6524013e6..24089c7b5 100644
--- a/rules/qemu.in
+++ b/rules/qemu.in
@@ -17,6 +17,7 @@ menuconfig QEMU
 	select PIXMAN		if QEMU_SYS
 	select PULSEAUDIO	if QEMU_PULSEAUDIO
 	select ALSA_LIB 	if QEMU_ALSA
+	select PIPEWIRE		if QEMU_PIPEWIRE
 	help
 	  QEMU is a generic and open source machine emulator and
 	  virtualizer.
@@ -56,6 +57,12 @@ config QEMU_ALSA
 	help
 	  Say y to build with alsa support.
 
+config QEMU_PIPEWIRE
+	bool
+	prompt "Enable pipewire audio output support."
+	help
+	  Say y to build with pipewire support.
+
 config QEMU_TOOLS
 	bool
 	prompt "Enable tools"
diff --git a/rules/qemu.make b/rules/qemu.make
index a0039fba4..25d3564f6 100644
--- a/rules/qemu.make
+++ b/rules/qemu.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_QEMU) += qemu
 #
 # Paths and names
 #
-QEMU_VERSION	:= 8.0.4
-QEMU_MD5	:= 8f840abde4713da2a50e041cc07a9409
+QEMU_VERSION	:= 8.1.0
+QEMU_MD5	:= 7dd9ff5a92cf81cfce6cda1f6e271f3a
 QEMU		:= qemu-$(QEMU_VERSION)
 QEMU_SUFFIX	:= tar.xz
 QEMU_URL	:= https://download.qemu.org/$(QEMU).$(QEMU_SUFFIX)
@@ -38,6 +38,7 @@ QEMU_USR_TARGETS	:= $(foreach target, $(QEMU_TARGETS), $(patsubst %,%-linux-user
 QEMU_AUDIO_DRIVER-y				:=
 QEMU_AUDIO_DRIVER-$(PTXCONF_QEMU_ALSA)		+= alsa
 QEMU_AUDIO_DRIVER-$(PTXCONF_QEMU_PULSEAUDIO)	+= pa
+QEMU_AUDIO_DRIVER-$(PTXCONF_QEMU_PIPEWIRE)	+= pipewire
 
 QEMU_CONF_TOOL	:= autoconf
 # Note: not really autoconf:
@@ -48,14 +49,13 @@ QEMU_CONF_OPT	:= \
 		$(call ptx/ifdef, PTXCONF_QEMU_SYS,$(QEMU_SYS_TARGETS),) \
 		$(call ptx/ifdef, PTXCONF_QEMU_USR,$(QEMU_USR_TARGETS),))) \
 	--cross-prefix=$(CROSS_COMPILE) \
-	--meson=meson \
 	--ninja=ninja \
-	--with-git-submodules=ignore \
+	--disable-download \
 	--disable-sanitizers \
 	--disable-tsan \
 	--disable-werror \
 	--enable-stack-protector \
-	--with-coroutine= \
+	--with-coroutine=auto \
 	--disable-plugins \
 	--disable-containers \
 	--audio-drv-list=$(subst $(space),$(comma),$(strip $(QEMU_AUDIO_DRIVER-y))) \
@@ -137,6 +137,7 @@ QEMU_CONF_OPT	:= \
 	--disable-opengl \
 	--disable-oss \
 	--$(call ptx/endis, PTXCONF_QEMU_PULSEAUDIO)-pa \
+	--$(call ptx/endis, PTXCONF_QEMU_PIPEWIRE)-pipewire \
 	--disable-parallels \
 	--disable-png \
 	--disable-pvrdma \
-- 
2.34.1




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ptxdist] [PATCH 2/2] host-qemu: Follow target qemu version 8.1.0 bump.
  2023-08-23 20:30 [ptxdist] [PATCH 1/2] qemu: Version bump. 8.0.4 -> 8.1.0 Christian Melki
@ 2023-08-23 20:30 ` Christian Melki
  2023-09-04  6:30   ` [ptxdist] [APPLIED] " Michael Olbrich
  2023-09-04  6:30 ` [ptxdist] [APPLIED] qemu: Version bump. 8.0.4 -> 8.1.0 Michael Olbrich
  1 sibling, 1 reply; 4+ messages in thread
From: Christian Melki @ 2023-08-23 20:30 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 rules/host-qemu.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/host-qemu.make b/rules/host-qemu.make
index db29c4682..eb60635b0 100644
--- a/rules/host-qemu.make
+++ b/rules/host-qemu.make
@@ -50,14 +50,13 @@ HOST_QEMU_CONF_OPT	:= \
 		$(call ptx/ifdef, PTXCONF_HOST_QEMU_SYS,$(HOST_QEMU_SYS_TARGETS),) \
 		$(call ptx/ifdef, PTXCONF_HOST_QEMU_USR,$(HOST_QEMU_USR_TARGETS),) \
 	" \
-	--meson=meson \
 	--ninja=ninja \
-	--with-git-submodules=ignore \
+	--disable-download \
 	--disable-sanitizers \
 	--disable-tsan \
 	--disable-werror \
 	--enable-stack-protector \
-	--with-coroutine= \
+	--with-coroutine=auto \
 	--disable-plugins \
 	--disable-containers \
 	--audio-drv-list= \
@@ -139,6 +138,7 @@ HOST_QEMU_CONF_OPT	:= \
 	--disable-opengl \
 	--disable-oss \
 	--disable-pa \
+	--disable-pipewire \
 	--disable-parallels \
 	--disable-png \
 	--disable-pvrdma \
-- 
2.34.1




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [APPLIED] qemu: Version bump. 8.0.4 -> 8.1.0
  2023-08-23 20:30 [ptxdist] [PATCH 1/2] qemu: Version bump. 8.0.4 -> 8.1.0 Christian Melki
  2023-08-23 20:30 ` [ptxdist] [PATCH 2/2] host-qemu: Follow target qemu version 8.1.0 bump Christian Melki
@ 2023-09-04  6:30 ` Michael Olbrich
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2023-09-04  6:30 UTC (permalink / raw)
  To: ptxdist; +Cc: Christian Melki

Thanks, applied as c96d2fec485656b3f964952ade9bfe63beea664a.

Michael

[sent from post-receive hook]

On Mon, 04 Sep 2023 08:30:08 +0200, Christian Melki <christian.melki@t2data.com> wrote:
> Bunch of changes. Mostly RISC-V. Pipewire addition.
> https://wiki.qemu.org/ChangeLog/8.1
> 
> * Plugs CVEs:
> CVE-2023-2861, CVE-2023-4135
> 
> * Forward patchset with minor line changes.
> 
> * Add pipewire support.
> 
> * Remove deprecated configure options and set others.
> 
> * Disable build system auto-download option.
> 
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20230823203055.3898201-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/patches/qemu-8.0.4/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch b/patches/qemu-8.1.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> similarity index 97%
> rename from patches/qemu-8.0.4/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> rename to patches/qemu-8.1.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> index 15f2977822ad..46b75f8a9f15 100644
> --- a/patches/qemu-8.0.4/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> +++ b/patches/qemu-8.1.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> @@ -11,7 +11,7 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>   1 file changed, 27 insertions(+), 13 deletions(-)
>  
>  diff --git a/hw/9pfs/9p-local.c b/hw/9pfs/9p-local.c
> -index 9d07620235c2..376d5b095c76 100644
> +index 1b1f3b9ec81e..d900dccaacb1 100644
>  --- a/hw/9pfs/9p-local.c
>  +++ b/hw/9pfs/9p-local.c
>  @@ -462,8 +462,7 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
> @@ -81,5 +81,5 @@ index 9d07620235c2..376d5b095c76 100644
>  +                goto err_end;
>  +            }
>           }
> -         /* Set cleint credentials in symlink's xattr */
> +         /* Set client credentials in symlink's xattr */
>           credp->fc_mode = credp->fc_mode | S_IFLNK;
> diff --git a/patches/qemu-8.0.4/0101-let-ninja-use-the-jobserver.patch b/patches/qemu-8.1.0/0101-let-ninja-use-the-jobserver.patch
> similarity index 90%
> rename from patches/qemu-8.0.4/0101-let-ninja-use-the-jobserver.patch
> rename to patches/qemu-8.1.0/0101-let-ninja-use-the-jobserver.patch
> index 92fdb14b60f6..a1524c1d9da7 100644
> --- a/patches/qemu-8.0.4/0101-let-ninja-use-the-jobserver.patch
> +++ b/patches/qemu-8.1.0/0101-let-ninja-use-the-jobserver.patch
> @@ -11,10 +11,10 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>   1 file changed, 1 insertion(+), 1 deletion(-)
>  
>  diff --git a/Makefile b/Makefile
> -index e421f8a1f4f7..0028d9996cdc 100644
> +index 5d48dfac18a3..61a291a95903 100644
>  --- a/Makefile
>  +++ b/Makefile
> -@@ -145,7 +145,7 @@ MAKE.k = $(findstring k,$(firstword $(filter-out --%,$(MAKEFLAGS))))
> +@@ -142,7 +142,7 @@ MAKE.k = $(findstring k,$(firstword $(filter-out --%,$(MAKEFLAGS))))
>   MAKE.q = $(findstring q,$(firstword $(filter-out --%,$(MAKEFLAGS))))
>   MAKE.nq = $(if $(word 2, $(MAKE.n) $(MAKE.q)),nq)
>   NINJAFLAGS = $(if $V,-v) $(if $(MAKE.n), -n) $(if $(MAKE.k), -k0) \
> diff --git a/patches/qemu-8.0.4/series b/patches/qemu-8.1.0/series
> similarity index 100%
> rename from patches/qemu-8.0.4/series
> rename to patches/qemu-8.1.0/series
> diff --git a/rules/qemu.in b/rules/qemu.in
> index 6524013e6e69..24089c7b511c 100644
> --- a/rules/qemu.in
> +++ b/rules/qemu.in
> @@ -17,6 +17,7 @@ menuconfig QEMU
>  	select PIXMAN		if QEMU_SYS
>  	select PULSEAUDIO	if QEMU_PULSEAUDIO
>  	select ALSA_LIB 	if QEMU_ALSA
> +	select PIPEWIRE		if QEMU_PIPEWIRE
>  	help
>  	  QEMU is a generic and open source machine emulator and
>  	  virtualizer.
> @@ -56,6 +57,12 @@ config QEMU_ALSA
>  	help
>  	  Say y to build with alsa support.
>  
> +config QEMU_PIPEWIRE
> +	bool
> +	prompt "Enable pipewire audio output support."
> +	help
> +	  Say y to build with pipewire support.
> +
>  config QEMU_TOOLS
>  	bool
>  	prompt "Enable tools"
> diff --git a/rules/qemu.make b/rules/qemu.make
> index a0039fba422d..25d3564f684a 100644
> --- a/rules/qemu.make
> +++ b/rules/qemu.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_QEMU) += qemu
>  #
>  # Paths and names
>  #
> -QEMU_VERSION	:= 8.0.4
> -QEMU_MD5	:= 8f840abde4713da2a50e041cc07a9409
> +QEMU_VERSION	:= 8.1.0
> +QEMU_MD5	:= 7dd9ff5a92cf81cfce6cda1f6e271f3a
>  QEMU		:= qemu-$(QEMU_VERSION)
>  QEMU_SUFFIX	:= tar.xz
>  QEMU_URL	:= https://download.qemu.org/$(QEMU).$(QEMU_SUFFIX)
> @@ -38,6 +38,7 @@ QEMU_USR_TARGETS	:= $(foreach target, $(QEMU_TARGETS), $(patsubst %,%-linux-user
>  QEMU_AUDIO_DRIVER-y				:=
>  QEMU_AUDIO_DRIVER-$(PTXCONF_QEMU_ALSA)		+= alsa
>  QEMU_AUDIO_DRIVER-$(PTXCONF_QEMU_PULSEAUDIO)	+= pa
> +QEMU_AUDIO_DRIVER-$(PTXCONF_QEMU_PIPEWIRE)	+= pipewire
>  
>  QEMU_CONF_TOOL	:= autoconf
>  # Note: not really autoconf:
> @@ -48,14 +49,13 @@ QEMU_CONF_OPT	:= \
>  		$(call ptx/ifdef, PTXCONF_QEMU_SYS,$(QEMU_SYS_TARGETS),) \
>  		$(call ptx/ifdef, PTXCONF_QEMU_USR,$(QEMU_USR_TARGETS),))) \
>  	--cross-prefix=$(CROSS_COMPILE) \
> -	--meson=meson \
>  	--ninja=ninja \
> -	--with-git-submodules=ignore \
> +	--disable-download \
>  	--disable-sanitizers \
>  	--disable-tsan \
>  	--disable-werror \
>  	--enable-stack-protector \
> -	--with-coroutine= \
> +	--with-coroutine=auto \
>  	--disable-plugins \
>  	--disable-containers \
>  	--audio-drv-list=$(subst $(space),$(comma),$(strip $(QEMU_AUDIO_DRIVER-y))) \
> @@ -137,6 +137,7 @@ QEMU_CONF_OPT	:= \
>  	--disable-opengl \
>  	--disable-oss \
>  	--$(call ptx/endis, PTXCONF_QEMU_PULSEAUDIO)-pa \
> +	--$(call ptx/endis, PTXCONF_QEMU_PIPEWIRE)-pipewire \
>  	--disable-parallels \
>  	--disable-png \
>  	--disable-pvrdma \



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [APPLIED] host-qemu: Follow target qemu version 8.1.0 bump.
  2023-08-23 20:30 ` [ptxdist] [PATCH 2/2] host-qemu: Follow target qemu version 8.1.0 bump Christian Melki
@ 2023-09-04  6:30   ` Michael Olbrich
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2023-09-04  6:30 UTC (permalink / raw)
  To: ptxdist; +Cc: Christian Melki

Thanks, applied as 2de9081e2935af31c074612e1471040e87d60b67.

Michael

[sent from post-receive hook]

On Mon, 04 Sep 2023 08:30:09 +0200, Christian Melki <christian.melki@t2data.com> wrote:
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20230823203055.3898201-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 db29c46821f5..eb60635b040b 100644
> --- a/rules/host-qemu.make
> +++ b/rules/host-qemu.make
> @@ -50,14 +50,13 @@ HOST_QEMU_CONF_OPT	:= \
>  		$(call ptx/ifdef, PTXCONF_HOST_QEMU_SYS,$(HOST_QEMU_SYS_TARGETS),) \
>  		$(call ptx/ifdef, PTXCONF_HOST_QEMU_USR,$(HOST_QEMU_USR_TARGETS),) \
>  	" \
> -	--meson=meson \
>  	--ninja=ninja \
> -	--with-git-submodules=ignore \
> +	--disable-download \
>  	--disable-sanitizers \
>  	--disable-tsan \
>  	--disable-werror \
>  	--enable-stack-protector \
> -	--with-coroutine= \
> +	--with-coroutine=auto \
>  	--disable-plugins \
>  	--disable-containers \
>  	--audio-drv-list= \
> @@ -139,6 +138,7 @@ HOST_QEMU_CONF_OPT	:= \
>  	--disable-opengl \
>  	--disable-oss \
>  	--disable-pa \
> +	--disable-pipewire \
>  	--disable-parallels \
>  	--disable-png \
>  	--disable-pvrdma \



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-04  6:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-23 20:30 [ptxdist] [PATCH 1/2] qemu: Version bump. 8.0.4 -> 8.1.0 Christian Melki
2023-08-23 20:30 ` [ptxdist] [PATCH 2/2] host-qemu: Follow target qemu version 8.1.0 bump Christian Melki
2023-09-04  6:30   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-09-04  6:30 ` [ptxdist] [APPLIED] qemu: Version bump. 8.0.4 -> 8.1.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