[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 28/47] nvdimm acpi: rename nvdimm_acpi_hotplug
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PULL 28/47] nvdimm acpi: rename nvdimm_acpi_hotplug |
Date: |
Thu, 10 Nov 2016 18:13:44 +0200 |
From: Xiao Guangrong <address@hidden>
Rename it to nvdimm_plug()
Suggested-by: Igor Mammedov <address@hidden>
Signed-off-by: Xiao Guangrong <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
---
include/hw/mem/nvdimm.h | 2 +-
hw/acpi/nvdimm.c | 2 +-
hw/i386/pc.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/hw/mem/nvdimm.h b/include/hw/mem/nvdimm.h
index 60585c3..03e1ff9 100644
--- a/include/hw/mem/nvdimm.h
+++ b/include/hw/mem/nvdimm.h
@@ -130,6 +130,6 @@ void nvdimm_init_acpi_state(AcpiNVDIMMState *state,
MemoryRegion *io,
void nvdimm_build_acpi(GArray *table_offsets, GArray *table_data,
BIOSLinker *linker, AcpiNVDIMMState *state,
uint32_t ram_slots);
-void nvdimm_acpi_hotplug(AcpiNVDIMMState *state);
+void nvdimm_plug(AcpiNVDIMMState *state);
void nvdimm_acpi_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev);
#endif
diff --git a/hw/acpi/nvdimm.c b/hw/acpi/nvdimm.c
index 148999e..7733f14 100644
--- a/hw/acpi/nvdimm.c
+++ b/hw/acpi/nvdimm.c
@@ -380,7 +380,7 @@ static void nvdimm_build_fit_buffer(NvdimmFitBuffer
*fit_buf)
fit_buf->dirty = true;
}
-void nvdimm_acpi_hotplug(AcpiNVDIMMState *state)
+void nvdimm_plug(AcpiNVDIMMState *state)
{
nvdimm_build_fit_buffer(&state->fit_buf);
}
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index b69cd48..a9b1950 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -1716,7 +1716,7 @@ static void pc_dimm_plug(HotplugHandler *hotplug_dev,
}
if (object_dynamic_cast(OBJECT(dev), TYPE_NVDIMM)) {
- nvdimm_acpi_hotplug(&pcms->acpi_nvdimm_state);
+ nvdimm_plug(&pcms->acpi_nvdimm_state);
}
hhc = HOTPLUG_HANDLER_GET_CLASS(pcms->acpi_dev);
--
MST
- [Qemu-devel] [PULL 18/47] vhost: Use vbus var instead of VIRTIO_BUS() macro, (continued)
- [Qemu-devel] [PULL 18/47] vhost: Use vbus var instead of VIRTIO_BUS() macro, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 19/47] vhost: migration blocker only if shared log is used, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 20/47] qdev: hotplug: drop HotplugHandler.post_plug callback, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 21/47] nvdimm acpi: drop the lock of fit buffer, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 22/47] pc: memhp: move nvdimm hotplug out of memory hotplug, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 24/47] nvdimm acpi: clean up nvdimm_build_acpi, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 23/47] pc: memhp: stop handling nvdimm hotplug in pc_dimm_unplug, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 25/47] docs: improve the doc of Read FIT method, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 27/47] nvdimm acpi: cleanup nvdimm_build_fit, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 26/47] nvdimm acpi: rename nvdimm_plugged_device_list, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 28/47] nvdimm acpi: rename nvdimm_acpi_hotplug,
Michael S. Tsirkin <=
- [Qemu-devel] [PULL 29/47] nvdimm acpi: define DSM return codes, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 30/47] nvdimm acpi: fix two comments, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 31/47] nvdimm acpi: rename nvdimm_dsm_reserved_root, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 32/47] nvdimm acpi: use aml_name_decl to define named object, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 33/47] nvdimm acpi: introduce NVDIMM_DSM_MEMORY_SIZE, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 34/47] msix: Follow CODING_STYLE, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 35/47] hcd-xhci: check & correct param before using it, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 38/47] hcd-xhci: change behaviour of msix switch, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 37/47] megasas: change behaviour of msix switch, Michael S. Tsirkin, 2016/11/10