Skip to content

linux-user: Use CPUArchState* instead of void* when possible

Philippe Mathieu-Daudé qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v13 patches 1 replySuperseded

Changes in v2 from the cover letter

- Rebased

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3linux-user/elfload: Remove pointless non-const CPUArchState castlinux-user/elfload.c+1 -11 reply
2/3linux-user: Have do_syscall() use CPUArchState* instead of void*linux-user/strace.c linux-user/strace.h linux-user/syscall.c +3 more+129 -1291 reply
3/3linux-user: Remove pointless CPU{ARCH}State castslinux-user/syscall.c linux-user/uname.c linux-user/user-internals.h+25 -281 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] linux-user: Use CPUArchState* instead of void* when possible

From: Philippe Mathieu-Daudé <[email protected]>

Since v1:
- Rebased

v1: https://lore.kernel.org/qemu-devel/[email protected]/

Philippe Mathieu-Daudé (3):
linux-user/elfload: Remove pointless non-const CPUArchState cast
linux-user: Have do_syscall() use CPUArchState* instead of void*
linux-user: Remove pointless CPU{ARCH}State casts

 linux-user/elfload.c        |   2 +-
 linux-user/strace.c         | 202 ++++++++++++++++++------------------
 linux-user/strace.h         |   4 +-
 linux-user/syscall.c        |  81 +++++++--------
 linux-user/uname.c          |   4 +-
 linux-user/uname.h          |   2 +-
 linux-user/user-internals.h |  18 ++--
 7 files changed, 155 insertions(+), 158 deletions(-)
Signature · 1 line
2.35.1