memory-device: complete factoring out plug handling
commit55d67a04923488cb27f470b37896dde7a8dc0366
authorDavid Hildenbrand <david@redhat.com>
Fri, 5 Oct 2018 09:20:22 +0000 (5 11:20 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 24 Oct 2018 09:44:59 +0000 (24 06:44 -0300)
tree7aff2f663697dd174ba4c26561e21c68636e52f9
parent6ef2c0f2c162c3cae30f235c8d27ee7b0c37a1ab
memory-device: complete factoring out plug handling

With the new memory device functions in place, we can factor out
plugging 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-15-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