memory-device: complete factoring out unplug handling
commit8288590d230c31e891965c30fa579ba3ac0f4c80
authorDavid Hildenbrand <david@redhat.com>
Fri, 5 Oct 2018 09:20:23 +0000 (5 11:20 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 24 Oct 2018 09:44:59 +0000 (24 06:44 -0300)
tree831b06bc961302d7fa45779a86429049b6aea0bb
parent55d67a04923488cb27f470b37896dde7a8dc0366
memory-device: complete factoring out unplug handling

With the new memory device functions in place, we can factor out
unplugging of memory devices completely.

Reviewed-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-16-david@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/mem/memory-device.c
hw/mem/pc-dimm.c
include/hw/mem/memory-device.h