Skip to content

hw/acpi/cpu_hotplug: Convert 'Object *device' -> 'DeviceState *parent'

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/acpi/cpu_hotplug: Rename gpe_cpu -> gpehw/acpi/acpi-cpu-hotplug-stub.c hw/acpi/cpu_hotplug.c hw/acpi/ich9.c +4 more+36 -362 replies
2/3hw/acpi/cpu_hotplug: Rename 'parent' MemoryRegion as 'container'hw/acpi/acpi-cpu-hotplug-stub.c hw/acpi/cpu_hotplug.c hw/acpi/piix4.c +1 more+12 -123 replies
3/3hw/acpi/cpu_hotplug: Convert 'Object *device' -> 'DeviceState *parent'hw/acpi/acpi-cpu-hotplug-stub.c hw/acpi/cpu_hotplug.c hw/acpi/ich9.c +2 more+16 -155 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] hw/acpi/cpu_hotplug: Convert 'Object *device' -> 'DeviceState *parent'

To ease code review, rename ACPI CPU hotplug variables to more meaningful names.

Since hotplug parent can't be any QOM object, and must be a QDev, convert AcpiCpuHotplug::device from Object* to DeviceState*.

Philippe Mathieu-Daudé (3):
hw/acpi/cpu_hotplug: Rename gpe_cpu -> gpe hw/acpi/cpu_hotplug: Rename 'parent' MemoryRegion as 'container' hw/acpi/cpu_hotplug: Convert 'Object *device' -> 'DeviceState *parent'

 hw/acpi/acpi-cpu-hotplug-stub.c |  8 +++---
 hw/acpi/cpu_hotplug.c           | 46 ++++++++++++++++-----------------
 hw/acpi/ich9.c                  |  9 ++++---
 hw/acpi/piix4.c                 | 14 +++++-----
 include/hw/acpi/cpu_hotplug.h   | 12 ++++-----
 include/hw/acpi/ich9.h          |  2 +-
 include/hw/acpi/piix4.h         |  2 +-
 7 files changed, 47 insertions(+), 46 deletions(-)
Signature · 1 line
2.38.1