On Sat, Aug 30, 2025 at 05:58:37PM +0200, Christian Melki wrote:
> https://wiki.qemu.org/ChangeLog/10.1
> passt is interesting, but I had some trivial build errors.
> 
> * Fix some build options.
> 
> * Slight adjustment to patchset. Applies cleanly.

Hmmm, I'm getting build errors for host-qemu:

[2182/2916] Linking target qemu-system-arm
FAILED: qemu-system-arm
gcc -m64 @qemu-system-arm.rsp
/usr/bin/ld: libsystem.a.p/net_passt.c.o: in function `net_passt_stream_start':
passt.c:(.text+0x19b): undefined reference to `g_subprocess_launcher_new'
/usr/bin/ld: passt.c:(.text+0x1ad): undefined reference to 
`g_subprocess_launcher_take_fd'
/usr/bin/ld: passt.c:(.text+0x1c2): undefined reference to 
`g_subprocess_launcher_spawnv'
/usr/bin/ld: passt.c:(.text+0x1cd): undefined reference to `g_object_unref'
/usr/bin/ld: passt.c:(.text+0x1e3): undefined reference to `g_subprocess_wait'
/usr/bin/ld: passt.c:(.text+0x1f3): undefined reference to 
`g_subprocess_get_if_exited'
/usr/bin/ld: passt.c:(.text+0x255): undefined reference to `g_object_unref'
/usr/bin/ld: passt.c:(.text+0x29c): undefined reference to 
`g_subprocess_get_exit_status'
/usr/bin/ld: passt.c:(.text+0x2cd): undefined reference to `g_object_unref'
collect2: error: ld returned 1 exit status

Not sure what is going on here. And can you update the configure option
there as well?

Michael

> Signed-off-by: Christian Melki <[email protected]>
> ---
>  ...s-allow-real-symlinks-for-security_model-mapped-f.patch | 4 ++--
>  patches/{qemu-10.0.3 => qemu-10.1.0}/series                | 0
>  rules/qemu.make                                            | 7 +++++--
>  3 files changed, 7 insertions(+), 4 deletions(-)
>  rename patches/{qemu-10.0.3 => 
> qemu-10.1.0}/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch 
> (96%)
>  rename patches/{qemu-10.0.3 => qemu-10.1.0}/series (100%)
> 
> diff --git 
> a/patches/qemu-10.0.3/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
>  
> b/patches/qemu-10.1.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> similarity index 96%
> rename from 
> patches/qemu-10.0.3/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> rename to 
> patches/qemu-10.1.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> index 46b75f8a9..edd4e9d10 100644
> --- 
> a/patches/qemu-10.0.3/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> +++ 
> b/patches/qemu-10.1.0/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
> @@ -11,7 +11,7 @@ Signed-off-by: Michael Olbrich <[email protected]>
>   1 file changed, 27 insertions(+), 13 deletions(-)
>  
>  diff --git a/hw/9pfs/9p-local.c b/hw/9pfs/9p-local.c
> -index 1b1f3b9ec81e..d900dccaacb1 100644
> +index 31e216227cb9..1815a99c9da4 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,
> @@ -50,7 +50,7 @@ index 1b1f3b9ec81e..d900dccaacb1 100644
>           close_preserve_errno(dirfd);
>       out:
>           g_free(name);
> -@@ -899,18 +910,21 @@ static int local_symlink(FsContext *fs_ctx, const char 
> *oldpath,
> +@@ -902,18 +913,21 @@ static int local_symlink(FsContext *fs_ctx, const char 
> *oldpath,
>           int fd;
>           ssize_t oldpath_size, write_size;
>   
> diff --git a/patches/qemu-10.0.3/series b/patches/qemu-10.1.0/series
> similarity index 100%
> rename from patches/qemu-10.0.3/series
> rename to patches/qemu-10.1.0/series
> diff --git a/rules/qemu.make b/rules/qemu.make
> index 9d15caa54..b168bc203 100644
> --- a/rules/qemu.make
> +++ b/rules/qemu.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_QEMU) += qemu
>  #
>  # Paths and names
>  #
> -QEMU_VERSION := 10.0.3
> -QEMU_MD5     := 4a244f485c9d7ac3d40f958f13eae298
> +QEMU_VERSION := 10.1.0
> +QEMU_MD5     := 3bde2d1b18d38d44331a6d9cb0cc3962
>  QEMU         := qemu-$(QEMU_VERSION)
>  QEMU_SUFFIX  := tar.xz
>  QEMU_URL     := https://download.qemu.org/$(QEMU).$(QEMU_SUFFIX)
> @@ -123,6 +123,7 @@ QEMU_CONF_OPT     := \
>       --disable-hv-balloon \
>       --disable-hvf \
>       --enable-iconv \
> +     --disable-igvm \
>       --disable-jack \
>       --disable-keyring \
>       --enable-kvm \
> @@ -155,6 +156,7 @@ QEMU_CONF_OPT     := \
>       --disable-oss \
>       --$(call ptx/endis, PTXCONF_QEMU_PULSEAUDIO)-pa \
>       --disable-parallels \
> +     --disable-passt \
>       --$(call ptx/endis, PTXCONF_QEMU_PIPEWIRE)-pipewire \
>       --$(call ptx/endis, PTXCONF_QEMU_PIXMAN)-pixman \
>       --disable-plugins \
> @@ -189,6 +191,7 @@ QEMU_CONF_OPT     := \
>       --disable-u2f \
>       --disable-uadk \
>       --disable-usb-redir \
> +     --disable-valgrind \
>       --disable-vde \
>       --disable-vdi \
>       --disable-vduse-blk-export \
> -- 
> 2.43.0
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Reply via email to