Skip to content

AHCI: re-privatize ahci headers

John Snow qemu-devel 1 version Applied

Status from this message: Thanks, applied to my IDE tree:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3ahci: add ahci_get_num_portshw/i386/pc_q35.c hw/ide/ahci.c hw/mips/boston.c +1 more+13 -41 reply
2/3ahci: Isolate public AHCI interfaceinclude/hw/ide/ahci.h include/hw/ide/ahci_public.h+96 -521 reply
3/3ahci: split public and private interfacehw/ide/ahci.c hw/ide/ahci_internal.h hw/ide/ich.c +2 more+411 -4111 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/3R-b T-b
2/3R-b T-b
3/3R-b T-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 [Qemu-devel] [PATCH 0/3] AHCI: re-privatize ahci headers

As reported by Philippe Mathieu-Daudé, including AHCI headers can quickly pull in more dependencies than is sane. To remedy this, split the AHCI headers into public and private areas as best as we can and move the private information back into hw/ide/.

The only code movement is performed in patch 2.
Patch 3 looks terrible, but all it is doing are two different moves, renaming one include directive. If you have suggestions for doing this diffstat differently, please advise.

John Snow (3):
ahci: add ahci_get_num_ports
ahci: Isolate public AHCI interface
ahci: split public and private interface

 hw/i386/pc_q35.c       |   4 +-
 hw/ide/ahci.c          |  10 +-
 hw/ide/ahci_internal.h | 359 +++++++++++++++++++++++++++++++++++++++++++++++++
 hw/ide/ich.c           |   2 +-
 hw/mips/boston.c       |   4 +-
 include/hw/ide/ahci.h  | 320 +------------------------------------------
 6 files changed, 376 insertions(+), 323 deletions(-)
 create mode 100644 hw/ide/ahci_internal.h
Signature · 1 line
2.9.4