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.

v4:
* Port away from qemu_allocate_irq() while at it

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

Supersedes: [email protected]

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-pci.h |   2 +
 include/hw/ide/ahci.h     |   2 -
 hw/ide/ahci-sysbus.c      |  91 ++++++++++++++++++++++++++++++++
 hw/ide/ahci.c             | 106 ++------------------------------------
 hw/ide/ich.c              |  19 +++++--
 hw/arm/Kconfig            |  10 ++--
 hw/ide/Kconfig            |   4 ++
 hw/ide/meson.build        |   1 +
 9 files changed, 122 insertions(+), 114 deletions(-)
 create mode 100644 hw/ide/ahci-sysbus.c

-- 
2.47.1


Reply via email to