Skip to content

cpus: Remove system reset() API from user emulation

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5target/i386: Restrict qapi/qapi-events-run-state.h to system emulationtarget/i386/helper.c+1 -10 replies
2/5target/i386: Restrict sysemu/reset.h to system emulationtarget/i386/cpu.c+1 -10 replies
3/5target/loongarch: Restrict sysemu/reset.h to system emulationtarget/loongarch/cpu.c+2 -00 replies
4/5target/s390x: Restrict sysemu/reset.h to system emulationtarget/s390x/cpu.c+3 -11 reply
5/5hw/core: Only build CPU reset handlers with system emulationhw/core/meson.build+1 -11 reply

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard HendersonWilfred MallawaThomas Huth
SeriesR-b R-b
1/5
2/5
3/5
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] cpus: Remove system reset() API from user emulation

In user emulation, threads -- implemented as CPU -- are created/destroyed, but never reset. There is no point in allowing the user emulation access the sysemu/reset API.

Philippe Mathieu-Daudé (5):
target/i386: Restrict qapi/qapi-events-run-state.h to system emulation target/i386: Restrict sysemu/reset.h to system emulation target/loongarch: Restrict sysemu/reset.h to system emulation target/s390x: Restrict sysemu/reset.h to system emulation hw/core: Only build CPU reset handlers with system emulation

 hw/core/meson.build    | 2 +-
 target/i386/cpu.c      | 2 +-
 target/i386/helper.c   | 2 +-
 target/loongarch/cpu.c | 2 ++
 target/s390x/cpu.c     | 4 +++-
 5 files changed, 8 insertions(+), 4 deletions(-)
Signature · 1 line
2.38.1