[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [qemu-xen master] pc: memhp: stop handling nvdimm hotplug in pc_dimm_unplug



commit 3e8522e23f6ab3c2b89ebb962ec4c2227d88aca6
Author:     Xiao Guangrong <guangrong.xiao@xxxxxxxxxxxxxxx>
AuthorDate: Mon Nov 7 19:13:39 2016 +0800
Commit:     Michael S. Tsirkin <mst@xxxxxxxxxx>
CommitDate: Tue Nov 15 17:20:37 2016 +0200

    pc: memhp: stop handling nvdimm hotplug in pc_dimm_unplug
    
    as it is never called when nvdimm hotplug happens
    
    Suggested-by: Igor Mammedov <imammedo@xxxxxxxxxx>
    Signed-off-by: Xiao Guangrong <guangrong.xiao@xxxxxxxxxxxxxxx>
    Reviewed-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
    Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
    Reviewed-by: Stefan Hajnoczi <stefanha@xxxxxxxxxx>
    Reviewed-by: Igor Mammedov <imammedo@xxxxxxxxxx>
---
 hw/i386/pc.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index cebaad2..b69cd48 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -1761,12 +1761,6 @@ static void pc_dimm_unplug(HotplugHandler *hotplug_dev,
     HotplugHandlerClass *hhc;
     Error *local_err = NULL;
 
-    if (object_dynamic_cast(OBJECT(dev), TYPE_NVDIMM)) {
-        error_setg(&local_err,
-                   "nvdimm device hot unplug is not supported yet.");
-        goto out;
-    }
-
     hhc = HOTPLUG_HANDLER_GET_CLASS(pcms->acpi_dev);
     hhc->unplug(HOTPLUG_HANDLER(pcms->acpi_dev), dev, &local_err);
 
--
generated by git-patchbot for /home/xen/git/qemu-xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.