Skip to content

misc cleanups for use of config settings

David Ahern qemu-devel 1 version NAK

Status from this message: NACK, see this thread for the previous discussion:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 15 repliesNAK

v1 --> v2 from the cover letter

- use Markus' solution for make_device_config
- address comments from Paolo regarding CONFIG_FDC and CONFIG_VGA_ISA
- add patch to actually use CONFIG options in C-code
- add CONFIG_APPLESMC option
- add option for disabling all sound cards

Patches in v1

#Subject and filesSizeRepliesApplied
1/11fix 'no such file' error from make_device_config.shmake_device_config.sh+1 -13 replies
2/11config: settings from default-configs need to be included in header filesMakefile Makefile.hw Makefile.target +1 more+13 -1310 replies
3/11config: fix compile for CONFIG_VMWARE_VGA=nhw/pc.c+2 -00 replies
4/11config: fix compile for CONFIG_PARALLEL=nhw/pc.c+2 -00 replies
5/11remove unused parallel_* variables from pc.chw/pc.c+0 -30 replies
6/11config: fix compile for CONFIG_NE2000_ISA=nhw/pc.c hw/pc_piix.c+6 -00 replies
7/11config: handle CONFIG_VGA_ISA=nhw/pc.c hw/pc_piix.c+8 -01 reply
8/11config: fix compile for CONFIG_IDE_ISA=nhw/pc_piix.c+9 -00 replies
9/11config: fix compile for CONFIG_FDC=nhw/pc.c+10 -00 replies
10/11config: add CONFIG_APPLESMCMakefile.target default-configs/i386-softmmu.mak default-configs/x86_64-softmmu.mak+4 -11 reply
11/11config: allow none as a configure option to disable all sound cardsconfigure+1 -10 replies

Reviews trailers per patch

2 of 11 patches have a Reviewed-by or Acked-by.

PatchPaolo Bonzini
1/11
2/11
3/11
4/11
5/11
6/11
7/11A-b
8/11
9/11
10/11A-b
11/11

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/11] misc cleanups for use of config settings

Start point for use of CONFIG options. This series addresses compiling out unwanted devices.

v1 --> v2
- use Markus' solution for make_device_config
- address comments from Paolo regarding CONFIG_FDC and CONFIG_VGA_ISA
- add patch to actually use CONFIG options in C-code
- add CONFIG_APPLESMC option
- add option for disabling all sound cards

David Ahern (11):
fix 'no such file' error from make_device_config.sh
config: settings from default-configs need to be included in header
files
config: fix compile for CONFIG_VMWARE_VGA=n
config: fix compile for CONFIG_PARALLEL=n
remove unused parallel_* variables from pc.c
config: fix compile for CONFIG_NE2000_ISA=n
config: handle CONFIG_VGA_ISA=n
config: fix compile for CONFIG_IDE_ISA=n
config: fix compile for CONFIG_FDC=n
config: add CONFIG_APPLESMC
config: allow none as a configure option to disable all sound cards

 Makefile                           |   16 ++++++++--------
 Makefile.hw                        |    2 +-
 Makefile.target                    |    7 ++++---
 configure                          |    2 +-
 default-configs/i386-softmmu.mak   |    1 +
 default-configs/x86_64-softmmu.mak |    1 +
 hw/pc.c                            |   23 ++++++++++++++++++++---
 hw/pc_piix.c                       |   17 +++++++++++++++++
 make_device_config.sh              |    2 +-
 rules.mak                          |    4 ++--
 10 files changed, 56 insertions(+), 19 deletions(-)
Signature · 1 line
1.7.3.4