mbox series

[PATCH-for-9.1,0/7] buildsys: Start shrinking qemu-user build process

Message ID 20240404194757.9343-1-philmd@linaro.org
Headers show
Series buildsys: Start shrinking qemu-user build process | expand

Message

Philippe Mathieu-Daudé April 4, 2024, 7:47 p.m. UTC
Hi,

While reworking include/exec/ I have to build many configs
to be sure nothing breaks. qemu-user is particularly
sensitive to changes in this directory (mostly because
all user-specific files include "qemu.h", itself including
various exec/ headers). Getting tired of this waste I had
a look at what we pointlessly build. This series is the
beginning of yet another cleanup set.

Regards,

Phil.

Philippe Mathieu-Daudé (7):
  ebpf: Restrict to system emulation
  yank: Restrict to system emulation
  monitor: Rework stubs to simplify user emulation linking
  util/qemu-config: Extract QMP commands to qemu-config-qmp.c
  hw/core: Restrict reset handlers API to system emulation
  hw/core: Move reset.c to hwcore_ss[] source set
  hw: Include minimal source set in user emulation build

 meson.build                |   6 +-
 include/qemu/config-file.h |   3 +
 hw/core/reset.c            |   4 +
 stubs/fdset.c              |  17 ---
 stubs/monitor-core.c       |  20 +++-
 stubs/monitor.c            |   8 +-
 util/qemu-config-qmp.c     | 206 +++++++++++++++++++++++++++++++++++++
 util/qemu-config.c         | 204 +-----------------------------------
 ebpf/meson.build           |   2 +-
 hw/core/meson.build        |   2 +-
 stubs/meson.build          |   5 +-
 util/meson.build           |   3 +-
 12 files changed, 248 insertions(+), 232 deletions(-)
 delete mode 100644 stubs/fdset.c
 create mode 100644 util/qemu-config-qmp.c