Skip to content

Reduce duplication in default configs

Paul Brook qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Include directives in default configsMakefile Makefile.objs make_device_config.sh+35 -60 replies
2/3PCI config includeMakefile.objs Makefile.target default-configs/arm-softmmu.mak +16 more+29 -425 replies
3/3VirtIO config optionMakefile.objs Makefile.target default-configs/s390x-softmmu.mak+11 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] Reduce duplication in default configs

As mentioned elsewhere recently, there are a lot of devices that are common to all targets. In particular all PCI devices [should] work on all PCI capable machies. Currently each target default config has to be updated separately, which becomes unmaintainable as as we get finer grained control over which devices are built.

Following patch series allows a default config to include other files, and uses this to consistently enable all PCI devices on all targets.

I have also made VirtIO devices optional.

Paul Brook (3):
Include directives in default configs
PCI config include
VirtIO config option

 Makefile                               |   11 ++++++-----
 Makefile.objs                          |   31 ++++++++++++++++++++-----------
 Makefile.target                        |    8 ++++----
 default-configs/arm-softmmu.mak        |    3 +--
 default-configs/cris-softmmu.mak       |    2 +-
 default-configs/i386-softmmu.mak       |    4 +---
 default-configs/m68k-softmmu.mak       |    2 +-
 default-configs/microblaze-softmmu.mak |    1 -
 default-configs/mips-softmmu.mak       |    3 +--
 default-configs/mips64-softmmu.mak     |    3 +--
 default-configs/mips64el-softmmu.mak   |    3 +--
 default-configs/mipsel-softmmu.mak     |    3 +--
 default-configs/ppc-softmmu.mak        |    3 +--
 default-configs/ppc64-softmmu.mak      |    3 +--
 default-configs/ppcemb-softmmu.mak     |    3 +--
 default-configs/s390x-softmmu.mak      |    1 +
 default-configs/sh4-softmmu.mak        |    3 +--
 default-configs/sh4eb-softmmu.mak      |    3 +--
 default-configs/sparc-softmmu.mak      |    2 +-
 default-configs/sparc64-softmmu.mak    |    2 +-
 default-configs/x86_64-softmmu.mak     |    4 +---
 make_device_config.sh                  |   27 +++++++++++++++++++++++++++
 22 files changed, 74 insertions(+), 51 deletions(-)
 create mode 100644 make_device_config.sh
Signature · 1 line
1.7.2.3