Skip to content

hw: Clean up hw/i386 headers (and few alpha/hppa)

Philippe Mathieu-Daudé qemu-arm qemu-devel qemu-trivial 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest18 patches 3 repliesIn review
  2. v120 patches 8 repliesApplied

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18vl: Add missing "hw/boards.h" includesoftmmu/vl.c+1 -00 replies
2/18hw/southbridge/ich9: Removed unused headershw/acpi/ich9.c hw/isa/lpc_ich9.c include/hw/i386/ich9.h+0 -30 replies
3/18hw/i386/ioapic_internal: Remove unused "hw/i386/ioapic.h" headerinclude/hw/i386/ioapic_internal.h+0 -10 replies
4/18hw/timer: Remove unused "ui/console.h" headerhw/rtc/twl92230.c hw/timer/hpet.c+0 -20 replies
5/18hw/usb/dev-storage: Remove unused "ui/console.h" headerhw/usb/dev-storage.c+0 -11 reply
6/18hw/i386/intel_iommu: Remove unused includesinclude/hw/i386/intel_iommu.h+0 -40 replies
7/18hw/alpha/alpha_sys: Remove unused "hw/ide.h" headerhw/alpha/alpha_sys.h+0 -10 replies
8/18hw/alpha/dp264: Include "net/net.h"hw/alpha/dp264.c+1 -00 replies
9/18hw/hppa/machine: Include "net/net.h"hw/hppa/machine.c+1 -00 replies
10/18hw/acpi/cpu_hotplug: Include "hw/pci/pci.h"hw/acpi/cpu_hotplug.c+1 -00 replies
11/18hw/timer/hpet: Include "exec/address-spaces.h"hw/timer/hpet.c+1 -00 replies
12/18hw/pci-host/q35: Include "qemu/range.h"include/hw/pci-host/q35.h+1 -00 replies
13/18hw/i2c/smbus_ich9: Include "qemu/range.h"hw/i2c/smbus_ich9.c+1 -00 replies
14/18hw/pci-host/piix: Include "qemu/range.h"hw/pci-host/i440fx.c+1 -00 replies
15/18hw/acpi: Include "hw/mem/nvdimm.h"hw/acpi/ich9.c hw/acpi/piix4.c+2 -00 replies
16/18hw/i386: Include "hw/mem/nvdimm.h"hw/i386/acpi-build.c hw/i386/pc.c hw/i386/pc_piix.c +1 more+4 -00 replies
17/18hw/pci-host/q35: Remove unused includeshw/pci-host/q35.c include/hw/pci-host/q35.h+1 -70 replies
18/18hw/i386/pc: Clean up includesinclude/hw/i386/pc.h+3 -80 replies

Reviews trailers per patch

All 18 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohn SnowGerd HoffmannRichard Henderson
SeriesR-b
1/18A-b
2/18R-b
3/18A-b
4/18A-b
5/18A-b A-b
6/18A-b
7/18A-b
8/18A-b
9/18A-b
10/18A-b
11/18A-b
12/18A-b
13/18A-b
14/18A-b
15/18A-b
16/18A-b
17/18A-b
18/18A-b

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 v2 thread

Cover letter [PATCH v2 00/18] hw: Clean up hw/i386 headers (and few alpha/hppa)

[Rebased since v1]:
https://www.mail-archive.com/[email protected]/msg57485.html

This is a follow-up of Markus's cleanup series:
Tame a few "touch this, recompile the world"
https://www.mail-archive.com/[email protected]/msg635748.html

This part is mostly restricted to X86, but since some file from the Alpha/PA-RISC machines include "hw/i386/pc.h" I had to fix them too.

Eventually I'll succeed at removing hw/i386/ dependency on non-X86 platforms (Quest I started 2 years ago...).

Regards,

Phil.

Philippe Mathieu-Daudé (18):
vl: Add missing "hw/boards.h" include hw/southbridge/ich9: Removed unused headers hw/i386/ioapic_internal: Remove unused "hw/i386/ioapic.h" header hw/timer: Remove unused "ui/console.h" header hw/usb/dev-storage: Remove unused "ui/console.h" header hw/i386/intel_iommu: Remove unused includes hw/alpha/alpha_sys: Remove unused "hw/ide.h" header hw/alpha/dp264: Include "net/net.h"
hw/hppa/machine: Include "net/net.h" hw/acpi/cpu_hotplug: Include "hw/pci/pci.h" hw/timer/hpet: Include "exec/address-spaces.h" hw/pci-host/q35: Include "qemu/range.h" hw/i2c/smbus_ich9: Include "qemu/range.h" hw/pci-host/piix: Include "qemu/range.h"
hw/acpi: Include "hw/mem/nvdimm.h"
hw/i386: Include "hw/mem/nvdimm.h"
hw/pci-host/q35: Remove unused includes
hw/i386/pc: Clean up includes

 hw/alpha/alpha_sys.h              |  1 -
 include/hw/i386/ich9.h            |  1 -
 include/hw/i386/intel_iommu.h     |  4 ----
 include/hw/i386/ioapic_internal.h |  1 -
 include/hw/i386/pc.h              | 11 +++--------
 include/hw/pci-host/q35.h         |  8 +-------
 hw/acpi/cpu_hotplug.c             |  1 +
 hw/acpi/ich9.c                    |  2 +-
 hw/acpi/piix4.c                   |  1 +
 hw/alpha/dp264.c                  |  1 +
 hw/hppa/machine.c                 |  1 +
 hw/i2c/smbus_ich9.c               |  1 +
 hw/i386/acpi-build.c              |  1 +
 hw/i386/pc.c                      |  1 +
 hw/i386/pc_piix.c                 |  1 +
 hw/i386/pc_q35.c                  |  1 +
 hw/isa/lpc_ich9.c                 |  1 -
 hw/pci-host/i440fx.c              |  1 +
 hw/pci-host/q35.c                 |  1 +
 hw/rtc/twl92230.c                 |  1 -
 hw/timer/hpet.c                   |  2 +-
 hw/usb/dev-storage.c              |  1 -
 softmmu/vl.c                      |  1 +
 23 files changed, 18 insertions(+), 27 deletions(-)
Signature · 1 line
2.21.1