Skip to content

user-mode: Prune build dependencies (part 1)

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14Makefile: Only build virtiofsd if system-mode is enabledMakefile+2 -24 replies
2/14configure: Avoid building TCG when not neededconfigure+4 -01 reply
3/14tests/Makefile: Only display TCG-related tests when TCG is availabletests/Makefile.include+2 -02 replies
4/14tests/Makefile: Restrict some softmmu-only teststests/Makefile.include+8 -82 replies
5/14stubs/Makefile: Reduce the user-mode object liststubs/Makefile.objs+30 -221 reply
6/14util/Makefile: Reduce the user-mode object listutil/Makefile.objs+38 -211 reply
7/14target/riscv/cpu: Restrict CPU migration to system-modetarget/riscv/cpu.c+4 -22 replies
8/14exec: Assert CPU migration is not used on user-only buildexec.c+3 -11 reply
9/14exec: Drop redundant #ifdefferyexec.c+0 -43 replies
10/14arch_init: Remove unused 'qapi-commands-misc.h' includearch_init.c+0 -12 replies
11/14target: Restrict write_elfXX_note() handlers to system-modetarget/arm/cpu.h target/i386/cpu.h target/ppc/cpu.h +2 more+16 -191 reply
12/14target/i386: Restrict CpuClass::get_crash_info() to system-modetarget/i386/cpu.c+5 -11 reply
13/14target/s390x: Restrict CpuClass::get_crash_info() to system-modetarget/s390x/cpu.c+5 -71 reply
14/14hw/core: Restrict CpuClass::get_crash_info() to system-modehw/core/cpu.c include/hw/core/cpu.h+8 -11 reply

Reviews trailers per patch

12 of 14 patches have a Reviewed-by or Acked-by.

PatchAlistair FrancisRichard Henderson
1/14
2/14R-b
3/14R-b R-b
4/14R-b T-b
5/14R-b
6/14R-b
7/14R-b R-b
8/14R-b
9/14R-b
10/14R-b R-b
11/14
12/14R-b
13/14R-b
14/14R-b

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

Read the v1 thread

Cover letter [PATCH 00/14] user-mode: Prune build dependencies (part 1)

This is the first part of a series reducing user-mode dependencies. By stripping out unused code, the build and testing time is reduced (as is space used by objects).

Part 1:
- reduce user-mode object list
- remove some migration code from user-mode
- remove cpu_get_crash_info()

Philippe Mathieu-Daudé (14):
Makefile: Only build virtiofsd if system-mode is enabled
configure: Avoid building TCG when not needed tests/Makefile: Only display TCG-related tests when TCG is available tests/Makefile: Restrict some softmmu-only tests stubs/Makefile: Reduce the user-mode object list util/Makefile: Reduce the user-mode object list target/riscv/cpu: Restrict CPU migration to system-mode
exec: Assert CPU migration is not used on user-only build
exec: Drop redundant #ifdeffery
arch_init: Remove unused 'qapi-commands-misc.h' include
target: Restrict write_elfXX_note() handlers to system-mode target/i386: Restrict CpuClass::get_crash_info() to system-mode target/s390x: Restrict CpuClass::get_crash_info() to system-mode hw/core: Restrict CpuClass::get_crash_info() to system-mode

 configure                       |  4 +++
 Makefile                        |  4 +--
 include/hw/core/cpu.h           |  7 +++-
 target/arm/cpu.h                | 10 +++---
 target/i386/cpu.h               | 18 +++++-----
 target/ppc/cpu.h                |  2 --
 target/s390x/internal.h         |  3 +-
 arch_init.c                     |  1 -
 exec.c                          |  8 ++---
 hw/core/cpu.c                   |  2 ++
 target/i386/cpu.c               |  6 +++-
 target/ppc/translate_init.inc.c |  2 --
 target/riscv/cpu.c              |  6 ++--
 target/s390x/cpu.c              | 12 +++----
 stubs/Makefile.objs             | 52 +++++++++++++++++------------
 tests/Makefile.include          | 18 +++++-----
 util/Makefile.objs              | 59 +++++++++++++++++++++------------
 17 files changed, 125 insertions(+), 89 deletions(-)
Signature · 1 line
2.21.1