[PULL 00/13] user patch queue

Richard Henderson posted 13 patches 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260710230116.900171-1-richard.henderson@linaro.org
Maintainers: Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>, Laurent Vivier <laurent@vivier.eu>, Helge Deller <deller@gmx.de>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
include/user/guest-host.h        |   1 +
include/user/mmap-min-addr.h     |  12 ++
include/user/probe-guest-base.h  |  37 ++++
include/{qemu => user}/selfmap.h |   0
linux-user/arm/target_elf.h      |   2 +-
linux-user/hppa/target_elf.h     |   2 +-
linux-user/user-internals.h      |  17 +-
bsd-user/elfload.c               |  37 ++--
bsd-user/main.c                  |  42 +---
common-user/mmap-min-addr.c      |  50 +++++
common-user/probe-guest-base.c   | 347 +++++++++++++++++++++++++++++++++
{util => common-user}/selfmap.c  |  49 ++++-
linux-user/arm/elfload.c         |   2 +-
linux-user/elfload.c             | 400 +++------------------------------------
linux-user/flatload.c            |   3 +-
linux-user/hppa/elfload.c        |   4 +-
linux-user/main.c                |  35 +---
linux-user/mmap.c                |   1 +
linux-user/syscall.c             |   2 +-
common-user/meson.build          |   3 +
util/meson.build                 |   4 -
21 files changed, 564 insertions(+), 486 deletions(-)
create mode 100644 include/user/mmap-min-addr.h
create mode 100644 include/user/probe-guest-base.h
rename include/{qemu => user}/selfmap.h (100%)
create mode 100644 common-user/mmap-min-addr.c
create mode 100644 common-user/probe-guest-base.c
rename {util => common-user}/selfmap.c (68%)
[PULL 00/13] user patch queue
Posted by Richard Henderson 1 day ago
The following changes since commit ab2056a0b7c944b16b224a8feabd99023772ae91:

  Merge tag 'pull-ufs-20260709' of https://gitlab.com/jeuk20.kim/qemu into staging (2026-07-09 12:04:14 +0200)

are available in the Git repository at:

  https://gitlab.com/rth7680/qemu.git tags/pull-lu-20260710

for you to fetch changes up to de1a2257117fc893d0703a154683b05f7bee0b12:

  common-user: Move guest_base, have_guest_base to probe-guest-base.c (2026-07-10 14:40:42 -0700)

----------------------------------------------------------------
Handle loading of ET_EXEC binaries at address 0.
Share probe_guest_base code between linux-user and bsd-user.

----------------------------------------------------------------
Richard Henderson (13):
      linux-user: Introduce PGBRange
      linux-user: Use PGBRange in load_elf_image
      linux-user: Drop hiaddr out-of-range check in probe_guest_base
      linux-user: Pass image_range to probe_guest_base
      linux-user: Use PGBRange for commpage
      common-user: Move mmap_min_addr from linux-user
      common-user: Initialize mmap_min_addr for FreeBSD
      include/user/guest-host: Include missing cpu.h
      common-user: Move selfmap from util
      common-user: Implement read_self_maps for FreeBSD
      common-user: Move probe_guest_base from linux-user
      bsd-user: Use probe_guest_base
      common-user: Move guest_base, have_guest_base to probe-guest-base.c

 include/user/guest-host.h        |   1 +
 include/user/mmap-min-addr.h     |  12 ++
 include/user/probe-guest-base.h  |  37 ++++
 include/{qemu => user}/selfmap.h |   0
 linux-user/arm/target_elf.h      |   2 +-
 linux-user/hppa/target_elf.h     |   2 +-
 linux-user/user-internals.h      |  17 +-
 bsd-user/elfload.c               |  37 ++--
 bsd-user/main.c                  |  42 +---
 common-user/mmap-min-addr.c      |  50 +++++
 common-user/probe-guest-base.c   | 347 +++++++++++++++++++++++++++++++++
 {util => common-user}/selfmap.c  |  49 ++++-
 linux-user/arm/elfload.c         |   2 +-
 linux-user/elfload.c             | 400 +++------------------------------------
 linux-user/flatload.c            |   3 +-
 linux-user/hppa/elfload.c        |   4 +-
 linux-user/main.c                |  35 +---
 linux-user/mmap.c                |   1 +
 linux-user/syscall.c             |   2 +-
 common-user/meson.build          |   3 +
 util/meson.build                 |   4 -
 21 files changed, 564 insertions(+), 486 deletions(-)
 create mode 100644 include/user/mmap-min-addr.h
 create mode 100644 include/user/probe-guest-base.h
 rename include/{qemu => user}/selfmap.h (100%)
 create mode 100644 common-user/mmap-min-addr.c
 create mode 100644 common-user/probe-guest-base.c
 rename {util => common-user}/selfmap.c (68%)
Re: [PULL 00/13] user patch queue
Posted by Stefan Hajnoczi 15 hours ago
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/11.1 for any user-visible changes.