This series fixes some runtime overhead when handling interrupts in AHCIState.
It then extracts the SysBus implementation into a dedicated file for separation
of concerns.

v3:
* Remove extra PCI include in ahci-internal.h
* Extract SysBus implementation into dedicated file

Supersedes: 20241205114453.1848-1-shen...@gmail.com

Bernhard Beschow (2):
  hw/ide/ahci: Decouple from PCI
  hw/ide/ahci: Extract TYPE_SYSBUS_AHCI into dedicated file

 hw/ide/ahci-internal.h |   1 -
 include/hw/ide/ahci.h  |   2 -
 hw/ide/ahci-sysbus.c   |  91 +++++++++++++++++++++++++++++++++++
 hw/ide/ahci.c          | 106 ++---------------------------------------
 hw/ide/ich.c           |  17 ++++++-
 hw/arm/Kconfig         |  10 ++--
 hw/ide/Kconfig         |   4 ++
 hw/ide/meson.build     |   1 +
 8 files changed, 121 insertions(+), 111 deletions(-)
 create mode 100644 hw/ide/ahci-sysbus.c

-- 
2.47.1


Reply via email to