Skip to content

ACPI type safety cleanup

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2acpi: Improve acpi_send_event() type safetyhw/acpi/acpi_interface.c hw/acpi/cpu.c hw/acpi/cpu_hotplug.c +5 more+12 -131 reply
2/2acpi: Decouple ACPI hotplug callbacks from HotplugHandlerhw/acpi/cpu.c hw/acpi/cpu_hotplug.c hw/acpi/ich9.c +9 more+43 -397 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchIgor Mammedov
1/2R-b
2/2

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 for-3.1 0/2] ACPI type safety cleanup

Small cleanup to make the ACPI callback functions harder to misuse.

Eduardo Habkost (2):
acpi: Improve acpi_send_event() type safety
acpi: Decouple ACPI hotplug callbacks from HotplugHandler

 include/hw/acpi/acpi_dev_interface.h |  2 +-
 include/hw/acpi/cpu.h                |  5 ++---
 include/hw/acpi/cpu_hotplug.h        |  2 +-
 include/hw/acpi/memory_hotplug.h     |  4 ++--
 include/hw/acpi/pcihp.h              |  4 ++--
 include/hw/mem/nvdimm.h              |  3 ++-
 hw/acpi/acpi_interface.c             |  5 ++---
 hw/acpi/cpu.c                        |  8 ++++----
 hw/acpi/cpu_hotplug.c                |  4 ++--
 hw/acpi/ich9.c                       | 14 ++++++++------
 hw/acpi/memory_hotplug.c             |  8 ++++----
 hw/acpi/nvdimm.c                     |  4 ++--
 hw/acpi/pcihp.c                      |  8 ++++----
 hw/acpi/piix4.c                      | 18 ++++++++++--------
 hw/acpi/vmgenid.c                    |  2 +-
 15 files changed, 47 insertions(+), 44 deletions(-)
Signature · 1 line
2.18.0.rc1.1.g3f1ff2140