[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] hw/acpi/cpu_hotplug: Convert 'Object *device' -> 'DeviceStat
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/3] hw/acpi/cpu_hotplug: Convert 'Object *device' -> 'DeviceState *parent' |
Date: |
Fri, 3 Feb 2023 17:30:18 +0100 |
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(-)
--
2.38.1