pc-dimm: pass PCDIMMDevice to pc_dimm_.*plug
commitfd3416f5eb160ed9ed53ddda5203fcaf06eeb647
authorDavid Hildenbrand <david@redhat.com>
Fri, 5 Oct 2018 09:20:12 +0000 (5 11:20 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 24 Oct 2018 09:44:59 +0000 (24 06:44 -0300)
tree5445629911c25f1d93d56a8a67252459a4c9fe4e
parentf99d84b1fc54f2eb7b164e4b8196061c10095522
pc-dimm: pass PCDIMMDevice to pc_dimm_.*plug

We're plugging/unplugging a PCDIMMDevice, so directly pass this type
instead of a more generic DeviceState.

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20181005092024.14344-5-david@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/pc.c
hw/mem/pc-dimm.c
hw/ppc/spapr.c
include/hw/mem/pc-dimm.h