Skip to content

RFC q35: acpi hotplug

Gerd Hoffmann qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3split acpi pci hotplug code into separate filehw/Makefile.objs hw/acpi_pci_hotplug.c hw/acpi_pci_hotplug.h +1 more+250 -1941 reply
2/3fix off-byone in hw/acpi_pci_hotplug.hhw/acpi_pci_hotplug.h+1 -10 replies
3/3q35: add & windup ich9-pci-hotplug devicehw/acpi_ich9.c hw/acpi_ich9.h hw/lpc_ich9.c+94 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [RfC PATCH 0/3] q35: acpi hotplug

Hi,

Experimental and untested patch series to implement acpi-based pci hotplug on q35. I'm only looking for comments on the approach taken, especially on patch #3.

The actual hotplug protocol is identical to piix, the difference is how the io ports are mapped. piix has magic io ports at a fixed address. For ich9 I don't want to do the same and create a pci device instead, so the io ports show up as usual in the guests ressource management and we can be sure we don't get conflicts.

No seabios bits yet. Should be largely identical to the piix ones, except that we create the OperationalRegion using PciBarTarget instead of SystemIO.

cheers,
Gerd

Gerd Hoffmann (3):
split acpi pci hotplug code into separate file
fix off-byone in hw/acpi_pci_hotplug.h
q35: add & windup ich9-pci-hotplug device

 hw/Makefile.objs      |    2 +-
 hw/acpi_ich9.c        |   89 ++++++++++++++++++++
 hw/acpi_ich9.h        |    1 +
 hw/acpi_pci_hotplug.c |  214 +++++++++++++++++++++++++++++++++++++++++++++++++
 hw/acpi_pci_hotplug.h |   26 ++++++
 hw/acpi_piix4.c       |  202 ++--------------------------------------------
 hw/lpc_ich9.c         |    5 +-
 7 files changed, 344 insertions(+), 195 deletions(-)
 create mode 100644 hw/acpi_pci_hotplug.c
 create mode 100644 hw/acpi_pci_hotplug.h