diff options
| author | Xiao Guangrong | 2016-11-07 12:13:38 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-11-15 16:20:37 +0100 |
| commit | 75f27498220e6ff6f78bf08fbe2cc662ec76ba89 (patch) | |
| tree | f68f4b39df6fa145fe4d6e010f089f9c9967cd47 /include/hw | |
| parent | nvdimm acpi: drop the lock of fit buffer (diff) | |
| download | qemu-75f27498220e6ff6f78bf08fbe2cc662ec76ba89.tar.gz qemu-75f27498220e6ff6f78bf08fbe2cc662ec76ba89.tar.xz qemu-75f27498220e6ff6f78bf08fbe2cc662ec76ba89.zip | |
pc: memhp: move nvdimm hotplug out of memory hotplug
as they use completely different way to handle hotplug event
Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/mem/nvdimm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/mem/nvdimm.h b/include/hw/mem/nvdimm.h index d3ffb2569b..60585c3bbd 100644 --- a/include/hw/mem/nvdimm.h +++ b/include/hw/mem/nvdimm.h @@ -131,4 +131,5 @@ 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_acpi_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev); #endif |
