[PULL 00/14] Trivial patches for 2026-03-16

Michael Tokarev posted 14 patches 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260316071005.91624-1-mjt@tls.msk.ru
Maintainers: Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Ani Sinha <anisinha@redhat.com>, Laurent Vivier <laurent@vivier.eu>, Paolo Bonzini <pbonzini@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Samuel Thibault <samuel.thibault@ens-lyon.org>, Jason Wang <jasowang@redhat.com>, Zhao Liu <zhao1.liu@intel.com>, Stefan Hajnoczi <stefanha@redhat.com>, Fam Zheng <fam@euphon.net>
There is a newer version of this series
docs/devel/migration/features.rst               |   1 +
docs/{xbzrle.txt => devel/migration/xbzrle.rst} | 106 ++++++++++++++----------
dump/dump.c                                     |   2 +-
hw/usb/core.c                                   |   2 +-
linux-user/fd-trans.c                           |   5 --
linux-user/fd-trans.h                           |   4 -
linux-user/syscall.c                            |  44 ++--------
linux-user/syscall_defs.h                       |   3 -
meson.build                                     |  19 +----
migration/savevm.c                              |   3 +-
net/slirp.c                                     |  22 ++++-
system/physmem.c                                |   2 -
target/i386/cpu.c                               |   7 +-
util/aio-posix.h                                |   4 +-
util/meson.build                                |   2 +-
15 files changed, 107 insertions(+), 119 deletions(-)
rename docs/{xbzrle.txt => devel/migration/xbzrle.rst} (74%)
[PULL 00/14] Trivial patches for 2026-03-16
Posted by Michael Tokarev 3 weeks ago
The following changes since commit fff352b9b6080e580aa1fadd29b4eccf4cb2922a:

  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2026-03-12 15:21:06 +0000)

are available in the Git repository at:

  https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches

for you to fetch changes up to 4ba98cfd263ba3e657b9d18c90bc5a4f2dcb0c63:

  rename CONFIG_EPOLL_CREATE1 to CONFIG_EPOLL, and stop checking for epoll in meson.build (2026-03-16 10:05:25 +0300)

----------------------------------------------------------------
trivial patches for 2026-03-16

a few patches accumulated in trivial-patches tree to date.
A larger part of it is my linux-user cleanup series.

----------------------------------------------------------------
Christopher Palmer-Richez (1):
      net/slirp: allow hostfwd socket paths with dashes

Michael Tokarev (7):
      linux-user/syscall.c: assume splice is always present
      meson.build: stop checking for splice()
      linux-user: assume inotify sycalls are always present
      meson.build: stop checking for inotify_init()
      linux-user: assume epoll is always present
      meson.build: do not check for epoll.h (CONFIG_EPOLL)
      rename CONFIG_EPOLL_CREATE1 to CONFIG_EPOLL, and stop checking for epoll in meson.build

Sergei Heifetz (5):
      migration/savevm.c: reorder usage and assertion of mis->from_src_file
      dump/dump.c: reorder usage and assertion of block
      system/physmem.c: remove useless assertion of block
      hw/usb/core.c: reorder usage and assertion of p->ep
      target/i386: fix NULL pointer dereference in legacy-cache=off handling

Thomas Huth (1):
      docs: Move xbzrle.txt into the migration folder and convert to rst

 docs/devel/migration/features.rst               |   1 +
 docs/{xbzrle.txt => devel/migration/xbzrle.rst} | 106 ++++++++++++++----------
 dump/dump.c                                     |   2 +-
 hw/usb/core.c                                   |   2 +-
 linux-user/fd-trans.c                           |   5 --
 linux-user/fd-trans.h                           |   4 -
 linux-user/syscall.c                            |  44 ++--------
 linux-user/syscall_defs.h                       |   3 -
 meson.build                                     |  19 +----
 migration/savevm.c                              |   3 +-
 net/slirp.c                                     |  22 ++++-
 system/physmem.c                                |   2 -
 target/i386/cpu.c                               |   7 +-
 util/aio-posix.h                                |   4 +-
 util/meson.build                                |   2 +-
 15 files changed, 107 insertions(+), 119 deletions(-)
 rename docs/{xbzrle.txt => devel/migration/xbzrle.rst} (74%)
Re: [PULL 00/14] Trivial patches for 2026-03-16
Posted by Peter Maydell 3 weeks ago
On Mon, 16 Mar 2026 at 07:10, Michael Tokarev <mjt@tls.msk.ru> wrote:
>
> The following changes since commit fff352b9b6080e580aa1fadd29b4eccf4cb2922a:
>
>   Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2026-03-12 15:21:06 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches
>
> for you to fetch changes up to 4ba98cfd263ba3e657b9d18c90bc5a4f2dcb0c63:
>
>   rename CONFIG_EPOLL_CREATE1 to CONFIG_EPOLL, and stop checking for epoll in meson.build (2026-03-16 10:05:25 +0300)
>
> ----------------------------------------------------------------
> trivial patches for 2026-03-16
>
> a few patches accumulated in trivial-patches tree to date.
> A larger part of it is my linux-user cleanup series.
>
> ----------------------------------------------------------------

Hi; this fails to build on some configs, eg:

https://gitlab.com/qemu-project/qemu/-/jobs/13506360670

../net/slirp.c:72:12: error: ‘get_last_str_sep’ defined but not used
[-Werror=unused-function]
   72 | static int get_last_str_sep(char *buf, int buf_size, const
char **pp, int sep)
      |            ^~~~~~~~~~~~~~~~

Looks like one of the patches defines the function unconditionally
but puts the only callsite inside an ifdef, so if the config
means we don't compile the code that calls it then the compiler
complains about the unused function.

thanks
-- PMM
Re: [PULL 00/14] Trivial patches for 2026-03-16
Posted by Michael Tokarev 3 weeks ago
On 16.03.2026 13:15, Peter Maydell wrote:
[]
> Hi; this fails to build on some configs, eg:
> 
> https://gitlab.com/qemu-project/qemu/-/jobs/13506360670
> 
> ../net/slirp.c:72:12: error: ‘get_last_str_sep’ defined but not used
> [-Werror=unused-function]
>     72 | static int get_last_str_sep(char *buf, int buf_size, const
> char **pp, int sep)
>        |            ^~~~~~~~~~~~~~~~
> 
> Looks like one of the patches defines the function unconditionally
> but puts the only callsite inside an ifdef, so if the config
> means we don't compile the code that calls it then the compiler
> complains about the unused function.

Yeah, -- I wondered about that too for a moment but didn't think about
it at the time.  I re-sent this pullreq with the problematic patch
dropped, the rest is the same.

Thanks, and sorry for the trouble.

/mjt